// source --> https://moussaouiassurances.com/wp-content/plugins/LayerSlider/static/layerslider/js/greensock.js if( typeof LS_Meta === 'object' && LS_Meta.fixGSAP ){ var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={}; } /* * VERSION: 1.19.0 * DATE: 2016-07-14 * UPDATES AND DOCS AT: http://greensock.com * * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin * * @license Copyright (c) 2008-2016, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},e=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e(c,b[c]):e[c%e.length];delete a.cycle},f=function(a,b,d){c.call(this,a,b,d),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=f.prototype.render},g=1e-10,h=c._internals,i=h.isSelector,j=h.isArray,k=f.prototype=c.to({},.1,{}),l=[];f.version="1.19.0",k.constructor=f,k.kill()._gc=!1,f.killTweensOf=f.killDelayedCallsTo=c.killTweensOf,f.getTweensOf=c.getTweensOf,f.lagSmoothing=c.lagSmoothing,f.ticker=c.ticker,f.render=c.render,k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),c.prototype.invalidate.call(this)},k.updateTo=function(a,b){var d,e=this.ratio,f=this.vars.immediateRender||a.immediateRender;b&&this._startTime.998){var g=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(g,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||f)for(var h,i=1/(1-e),j=this._firstPT;j;)h=j.s+j.c,j.c*=i,j.s=h-j.c,j=j._next;return this},k.render=function(a,b,c){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var d,e,f,i,j,k,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._totalTime,q=this._cycle,r=this._duration,s=this._rawPrevTime;if(a>=n-1e-7?(this._totalTime=n,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>s||0>=a&&a>=-1e-7||s===g&&"isPause"!==this.data)&&s!==a&&(c=!0,s>g&&(e="onReverseComplete")),this._rawPrevTime=m=!b||a||s===a?a:g)):1e-7>a?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===r&&s>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||c)&&(s>=0&&(c=!0),this._rawPrevTime=m=!b||a||s===a?a:g)),this._initted||(c=!0)):(this._totalTime=this._time=a,0!==this._repeat&&(i=r+this._repeatDelay,this._cycle=this._totalTime/i>>0,0!==this._cycle&&this._cycle===this._totalTime/i&&a>=p&&this._cycle--,this._time=this._totalTime-this._cycle*i,this._yoyo&&0!==(1&this._cycle)&&(this._time=r-this._time),this._time>r?this._time=r:this._time<0&&(this._time=0)),this._easeType?(j=this._time/r,k=this._easeType,l=this._easePower,(1===k||3===k&&j>=.5)&&(j=1-j),3===k&&(j*=2),1===l?j*=j:2===l?j*=j*j:3===l?j*=j*j*j:4===l&&(j*=j*j*j*j),1===k?this.ratio=1-j:2===k?this.ratio=j:this._time/r<.5?this.ratio=j/2:this.ratio=1-j/2):this.ratio=this._ease.getRatio(this._time/r)),o===this._time&&!c&&q===this._cycle)return void(p!==this._totalTime&&this._onUpdate&&(b||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=o,this._totalTime=p,this._rawPrevTime=s,this._cycle=q,h.lazyTweens.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/r):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&a>=0&&(this._active=!0),0===p&&(2===this._initted&&a>0&&this._init(),this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===r)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&this._startTime&&this._startAt.render(a,b,c),b||(this._totalTime!==p||e)&&this._callback("onUpdate")),this._cycle!==q&&(b||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===r&&this._rawPrevTime===g&&m!==g&&(this._rawPrevTime=0))},f.to=function(a,b,c){return new f(a,b,c)},f.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new f(a,b,c)},f.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new f(a,b,d)},f.staggerTo=f.allTo=function(a,b,g,h,k,m,n){h=h||0;var o,p,q,r,s=0,t=[],u=function(){g.onComplete&&g.onComplete.apply(g.onCompleteScope||this,arguments),k.apply(n||g.callbackScope||this,m||l)},v=g.cycle,w=g.startAt&&g.startAt.cycle;for(j(a)||("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a))),a=a||[],0>h&&(a=d(a),a.reverse(),h*=-1),o=a.length-1,q=0;o>=q;q++){p={};for(r in g)p[r]=g[r];if(v&&(e(p,a,q),null!=p.duration&&(b=p.duration,delete p.duration)),w){w=p.startAt={};for(r in g.startAt)w[r]=g.startAt[r];e(p.startAt,a,q)}p.delay=s+(p.delay||0),q===o&&k&&(p.onComplete=u),t[q]=new f(a[q],b,p),s+=h}return t},f.staggerFrom=f.allFrom=function(a,b,c,d,e,g,h){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,f.staggerTo(a,b,c,d,e,g,h)},f.staggerFromTo=f.allFromTo=function(a,b,c,d,e,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,f.staggerTo(a,b,d,e,g,h,i)},f.delayedCall=function(a,b,c,d,e){return new f(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,useFrames:e,overwrite:0})},f.set=function(a,b){return new f(a,0,b)},f.isTweening=function(a){return c.getTweensOf(a,!0).length>0};var m=function(a,b){for(var d=[],e=0,f=a._first;f;)f instanceof c?d[e++]=f:(b&&(d[e++]=f),d=d.concat(m(f,b)),e=d.length),f=f._next;return d},n=f.getAllTweens=function(b){return m(a._rootTimeline,b).concat(m(a._rootFramesTimeline,b))};f.killAll=function(a,c,d,e){null==c&&(c=!0),null==d&&(d=!0);var f,g,h,i=n(0!=e),j=i.length,k=c&&d&&e;for(h=0;j>h;h++)g=i[h],(k||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&(a?g.totalTime(g._reversed?0:g.totalDuration()):g._enabled(!1,!1))},f.killChildTweensOf=function(a,b){if(null!=a){var e,g,k,l,m,n=h.tweenLookup;if("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a)),j(a))for(l=a.length;--l>-1;)f.killChildTweensOf(a[l],b);else{e=[];for(k in n)for(g=n[k].target.parentNode;g;)g===a&&(e=e.concat(n[k].tweens)),g=g.parentNode;for(m=e.length,l=0;m>l;l++)b&&e[l].totalTime(e[l].totalDuration()),e[l]._enabled(!1,!1)}}};var o=function(a,c,d,e){c=c!==!1,d=d!==!1,e=e!==!1;for(var f,g,h=n(e),i=c&&d&&e,j=h.length;--j>-1;)g=h[j],(i||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&g.paused(a)};return f.pauseAll=function(a,b,c){o(!0,a,b,c)},f.resumeAll=function(a,b,c){o(!1,a,b,c)},f.globalTimeScale=function(b){var d=a._rootTimeline,e=c.ticker.time;return arguments.length?(b=b||g,d._startTime=e-(e-d._startTime)*d._timeScale/b,d=a._rootFramesTimeline,e=c.ticker.frame,d._startTime=e-(e-d._startTime)*d._timeScale/b,d._timeScale=a._rootTimeline._timeScale=b,b):d._timeScale},k.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),b):this._time/this.duration()},k.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this._totalTime/this.totalDuration()},k.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.duration=function(b){return arguments.length?a.prototype.duration.call(this,b):this._duration},k.totalDuration=function(a){return arguments.length?-1===this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},f},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){b.call(this,a),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var c,d,e=this.vars;for(d in e)c=e[d],i(c)&&-1!==c.join("").indexOf("{self}")&&(e[d]=this._swapSelfInParams(c));i(e.tweens)&&this.add(e.tweens,0,e.align,e.stagger)},e=1e-10,f=c._internals,g=d._internals={},h=f.isSelector,i=f.isArray,j=f.lazyTweens,k=f.lazyRender,l=_gsScope._gsDefine.globals,m=function(a){var b,c={};for(b in a)c[b]=a[b];return c},n=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e.call(b[c],c):e[c%e.length];delete a.cycle},o=g.pauseCallback=function(){},p=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},q=d.prototype=new b;return d.version="1.19.0",q.constructor=d,q.kill()._gc=q._forcingPlayhead=q._hasPause=!1,q.to=function(a,b,d,e){var f=d.repeat&&l.TweenMax||c;return b?this.add(new f(a,b,d),e):this.set(a,d,e)},q.from=function(a,b,d,e){return this.add((d.repeat&&l.TweenMax||c).from(a,b,d),e)},q.fromTo=function(a,b,d,e,f){var g=e.repeat&&l.TweenMax||c;return b?this.add(g.fromTo(a,b,d,e),f):this.set(a,e,f)},q.staggerTo=function(a,b,e,f,g,i,j,k){var l,o,q=new d({onComplete:i,onCompleteParams:j,callbackScope:k,smoothChildTiming:this.smoothChildTiming}),r=e.cycle;for("string"==typeof a&&(a=c.selector(a)||a),a=a||[],h(a)&&(a=p(a)),f=f||0,0>f&&(a=p(a),a.reverse(),f*=-1),o=0;ol;l++)i(m=e[l])&&(m=new d({tweens:m})),this.add(m,j),"string"!=typeof m&&"function"!=typeof m&&("sequence"===g?j=m._startTime+m.totalDuration()/m._timeScale:"start"===g&&(m._startTime-=m.delay())),j+=h;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,f);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=c.delayedCall(0,e)}if(b.prototype.add.call(this,e,f),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._startTime;n._timeline;)o&&n._timeline.smoothChildTiming?n.totalTime(n._totalTime,!0):n._gc&&n._enabled(!0,!1),n=n._timeline;return this},q.remove=function(b){if(b instanceof a){this._remove(b,!1);var c=b._timeline=b.vars.useFrames?a._rootFramesTimeline:a._rootTimeline;return b._startTime=(b._paused?b._pauseTime:c._time)-(b._reversed?b.totalDuration()-b._totalTime:b._totalTime)/b._timeScale,this}if(b instanceof Array||b&&b.push&&i(b)){for(var d=b.length;--d>-1;)this.remove(b[d]);return this}return"string"==typeof b?this.removeLabel(b):this.kill(null,b)},q._remove=function(a,c){b.prototype._remove.call(this,a,c);var d=this._last;return d?this._time>d._startTime+d._totalDuration/d._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},q.append=function(a,b){return this.add(a,this._parseTimeOrLabel(null,b,!0,a))},q.insert=q.insertMultiple=function(a,b,c,d){return this.add(a,b||0,c,d)},q.appendMultiple=function(a,b,c,d){return this.add(a,this._parseTimeOrLabel(null,b,!0,a),c,d)},q.addLabel=function(a,b){return this._labels[a]=this._parseTimeOrLabel(b),this},q.addPause=function(a,b,d,e){var f=c.delayedCall(0,o,d,e||this);return f.vars.onComplete=f.vars.onReverseComplete=b,f.data="isPause",this._hasPause=!0,this.add(f,a)},q.removeLabel=function(a){return delete this._labels[a],this},q.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1},q._parseTimeOrLabel=function(b,c,d,e){var f;if(e instanceof a&&e.timeline===this)this.remove(e);else if(e&&(e instanceof Array||e.push&&i(e)))for(f=e.length;--f>-1;)e[f]instanceof a&&e[f].timeline===this&&this.remove(e[f]);if("string"==typeof c)return this._parseTimeOrLabel(c,d&&"number"==typeof b&&null==this._labels[c]?b-this.duration():0,d);if(c=c||0,"string"!=typeof b||!isNaN(b)&&null==this._labels[b])null==b&&(b=this.duration());else{if(f=b.indexOf("="),-1===f)return null==this._labels[b]?d?this._labels[b]=this.duration()+c:c:this._labels[b]+c;c=parseInt(b.charAt(f-1)+"1",10)*Number(b.substr(f+1)),b=f>1?this._parseTimeOrLabel(b.substr(0,f-1),0,d):this.duration()}return Number(b)+c},q.seek=function(a,b){return this.totalTime("number"==typeof a?a:this._parseTimeOrLabel(a),b!==!1)},q.stop=function(){return this.paused(!0)},q.gotoAndPlay=function(a,b){return this.play(a,b)},q.gotoAndStop=function(a,b){return this.pause(a,b)},q.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,g,h,i,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._startTime,q=this._timeScale,r=this._paused;if(a>=n-1e-7)this._totalTime=this._time=n,this._reversed||this._hasPausedChild()||(f=!0,h="onComplete",i=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===e)&&this._rawPrevTime!==a&&this._first&&(i=!0,this._rawPrevTime>e&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,a=n+1e-4;else if(1e-7>a)if(this._totalTime=this._time=0,(0!==o||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>a&&this._rawPrevTime>=0))&&(h="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(i=f=!0,h="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(i=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(i=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!b){if(a>=o)for(d=this._first;d&&d._startTime<=a&&!l;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(l=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!l;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(l=d),d=d._prev;l&&(this._time=a=l._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=a}if(this._time!==o&&this._first||c||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==o&&a>0&&(this._active=!0),0===o&&this.vars.onStart&&(0===this._time&&this._duration||b||this._callback("onStart")),m=this._time,m>=o)for(d=this._first;d&&(g=d._next,m===this._time&&(!this._paused||r));)(d._active||d._startTime<=m&&!d._paused&&!d._gc)&&(l===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=g;else for(d=this._last;d&&(g=d._prev,m===this._time&&(!this._paused||r));){if(d._active||d._startTime<=o&&!d._paused&&!d._gc){if(l===d){for(l=d._prev;l&&l.endTime()>this._time;)l.render(l._reversed?l.totalDuration()-(a-l._startTime)*l._timeScale:(a-l._startTime)*l._timeScale,b,c),l=l._prev;l=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=g}this._onUpdate&&(b||(j.length&&k(),this._callback("onUpdate"))),h&&(this._gc||(p===this._startTime||q!==this._timeScale)&&(0===this._time||n>=this.totalDuration())&&(f&&(j.length&&k(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[h]&&this._callback(h)))}},q._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._hasPausedChild())return!0;a=a._next}return!1},q.getChildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;)g._startTime-1;)(d[e].timeline===this||b&&this._contains(d[e]))&&(g[h++]=d[e]);return f&&this._enabled(!1,!0),g},q.recent=function(){return this._recent},q._contains=function(a){for(var b=a.timeline;b;){if(b===this)return!0;b=b.timeline}return!1},q.shiftChildren=function(a,b,c){c=c||0;for(var d,e=this._first,f=this._labels;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(d in f)f[d]>=c&&(f[d]+=a);return this._uncache(!0)},q._kill=function(a,b){if(!a&&!b)return this._enabled(!1,!1);for(var c=b?this.getTweensOf(b):this.getChildren(!0,!0,!1),d=c.length,e=!1;--d>-1;)c[d]._kill(a,b)&&(e=!0);return e},q.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;--c>-1;)b[c]._enabled(!1,!1);return a!==!1&&(this._labels={}),this._uncache(!0)},q.invalidate=function(){for(var b=this._first;b;)b.invalidate(),b=b._next;return a.prototype.invalidate.call(this)},q._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return b.prototype._enabled.call(this,a,c)},q.totalTime=function(b,c,d){this._forcingPlayhead=!0;var e=a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},q.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timeScale(this._duration/a),this):(this._dirty&&this.totalDuration(),this._duration)},q.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b,c,d=0,e=this._last,f=999999999999;e;)b=e._prev,e._dirty&&e.totalDuration(),e._startTime>f&&this._sortChildren&&!e._paused?this.add(e,e._startTime-e._delay):f=e._startTime,e._startTime<0&&!e._paused&&(d-=e._startTime,this._timeline.smoothChildTiming&&(this._startTime+=e._startTime/this._timeScale),this.shiftChildren(-e._startTime,!1,-9999999999),f=0),c=e._startTime+e._totalDuration/e._timeScale,c>d&&(d=c),e=b;this._duration=this._totalDuration=d,this._dirty=!1}return this._totalDuration}return a&&this.totalDuration()?this.timeScale(this._totalDuration/a):this},q.paused=function(b){if(!b)for(var c=this._first,d=this._time;c;)c._startTime===d&&"isPause"===c.data&&(c._rawPrevTime=0),c=c._next;return a.prototype.paused.apply(this,arguments)},q.usesFrames=function(){for(var b=this._timeline;b._timeline;)b=b._timeline;return b===a._rootFramesTimeline},q.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(a,b,c){var d=function(b){a.call(this,b),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},e=1e-10,f=b._internals,g=f.lazyTweens,h=f.lazyRender,i=_gsScope._gsDefine.globals,j=new c(null,null,1,0),k=d.prototype=new a;return k.constructor=d,k.kill()._gc=!1,d.version="1.19.0",k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},k.addCallback=function(a,c,d,e){return this.add(b.delayedCall(0,a,d,e),c)},k.removeCallback=function(a,b){if(a)if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,e=this._parseTimeOrLabel(b);--d>-1;)c[d]._startTime===e&&c[d]._enabled(!1,!1);return this},k.removePause=function(b){return this.removeCallback(a._internals.pauseCallback,b)},k.tweenTo=function(a,c){c=c||{};var d,e,f,g={ease:j,useFrames:this.usesFrames(),immediateRender:!1},h=c.repeat&&i.TweenMax||b;for(e in c)g[e]=c[e];return g.time=this._parseTimeOrLabel(a),d=Math.abs(Number(g.time)-this._time)/this._timeScale||.001,f=new h(this,d,g),g.onStart=function(){f.target.paused(!0),f.vars.time!==f.target.time()&&d===f.duration()&&f.duration(Math.abs(f.vars.time-f.target.time())/f.target._timeScale),c.onStart&&f._callback("onStart")},f},k.tweenFromTo=function(a,b,c){c=c||{},a=this._parseTimeOrLabel(a),c.startAt={onComplete:this.seek,onCompleteParams:[a],callbackScope:this},c.immediateRender=c.immediateRender!==!1;var d=this.tweenTo(b,c);return d.duration(Math.abs(d.vars.time-a)/this._timeScale||.001)},k.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,i,j,k,l,m,n,o=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,q=this._time,r=this._totalTime,s=this._startTime,t=this._timeScale,u=this._rawPrevTime,v=this._paused,w=this._cycle;if(a>=o-1e-7)this._locked||(this._totalTime=o,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(f=!0,j="onComplete",k=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||0>u||u===e)&&u!==a&&this._first&&(k=!0,u>e&&(j="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,this._yoyo&&0!==(1&this._cycle)?this._time=a=0:(this._time=p,a=p+1e-4);else if(1e-7>a)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==q||0===p&&u!==e&&(u>0||0>a&&u>=0)&&!this._locked)&&(j="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(k=f=!0,j="onReverseComplete"):u>=0&&this._first&&(k=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=p||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(k=!0)}else if(0===p&&0>u&&(k=!0),this._time=this._rawPrevTime=a,this._locked||(this._totalTime=a,0!==this._repeat&&(l=p+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&a>=r&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=p-this._time),this._time>p?(this._time=p,a=p+1e-4):this._time<0?this._time=a=0:a=this._time)),this._hasPause&&!this._forcingPlayhead&&!b){if(a=this._time,a>=q)for(d=this._first;d&&d._startTime<=a&&!m;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(m=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!m;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(m=d),d=d._prev;m&&(this._time=a=m._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==w&&!this._locked){var x=this._yoyo&&0!==(1&w),y=x===(this._yoyo&&0!==(1&this._cycle)),z=this._totalTime,A=this._cycle,B=this._rawPrevTime,C=this._time;if(this._totalTime=w*p,this._cycle0&&(this._active=!0),0===r&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||b||this._callback("onStart")),n=this._time,n>=q)for(d=this._first;d&&(i=d._next,n===this._time&&(!this._paused||v));)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(m===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=i;else for(d=this._last;d&&(i=d._prev,n===this._time&&(!this._paused||v));){if(d._active||d._startTime<=q&&!d._paused&&!d._gc){if(m===d){for(m=d._prev;m&&m.endTime()>this._time;)m.render(m._reversed?m.totalDuration()-(a-m._startTime)*m._timeScale:(a-m._startTime)*m._timeScale,b,c),m=m._prev;m=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=i}this._onUpdate&&(b||(g.length&&h(),this._callback("onUpdate"))),j&&(this._locked||this._gc||(s===this._startTime||t!==this._timeScale)&&(0===this._time||o>=this.totalDuration())&&(f&&(g.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[j]&&this._callback(j)))},k.getActive=function(a,b,c){null==a&&(a=!0),null==b&&(b=!0),null==c&&(c=!1);var d,e,f=[],g=this.getChildren(a,b,c),h=0,i=g.length;for(d=0;i>d;d++)e=g[d],e.isActive()&&(f[h++]=e);return f},k.getLabelAfter=function(a){a||0!==a&&(a=this._time);var b,c=this.getLabelsArray(),d=c.length;for(b=0;d>b;b++)if(c[b].time>a)return c[b].name;return null},k.getLabelBefore=function(a){null==a&&(a=this._time);for(var b=this.getLabelsArray(),c=b.length;--c>-1;)if(b[c].timethis._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},k.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.getLabelBefore(this._time+1e-8)},d},!0),function(){var a=180/Math.PI,b=[],c=[],d=[],e={},f=_gsScope._gsDefine.globals,g=function(a,b,c,d){c===d&&(c=d-(d-b)/1e6),a===b&&(b=a+(c-a)/1e6),this.a=a,this.b=b,this.c=c,this.d=d,this.da=d-a,this.ca=c-a,this.ba=b-a},h=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",i=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},j=function(a,e,f,g,h){var j,k,l,m,n,o,p,q,r,s,t,u,v,w=a.length-1,x=0,y=a[0].a;for(j=0;w>j;j++)n=a[x],k=n.a,l=n.d,m=a[x+1].d,h?(t=b[j],u=c[j],v=(u+t)*e*.25/(g?.5:d[j]||.5),o=l-(l-k)*(g?.5*e:0!==t?v/t:0),p=l+(m-l)*(g?.5*e:0!==u?v/u:0),q=l-(o+((p-o)*(3*t/(t+u)+.5)/4||0))):(o=l-(l-k)*e*.5,p=l+(m-l)*e*.5,q=l-(o+p)/2),o+=q,p+=q,n.c=r=o,0!==j?n.b=y:n.b=y=n.a+.6*(n.c-n.a),n.da=l-k,n.ca=r-k,n.ba=y-k,f?(s=i(k,y,r,l),a.splice(x,1,s[0],s[1],s[2],s[3]),x+=4):x++,y=p;n=a[x],n.b=y,n.c=y+.4*(n.d-y),n.da=n.d-n.a,n.ca=n.c-n.a,n.ba=y-n.a,f&&(s=i(n.a,y,n.c,n.d),a.splice(x,1,s[0],s[1],s[2],s[3]))},k=function(a,d,e,f){var h,i,j,k,l,m,n=[];if(f)for(a=[f].concat(a),i=a.length;--i>-1;)"string"==typeof(m=a[i][d])&&"="===m.charAt(1)&&(a[i][d]=f[d]+Number(m.charAt(0)+m.substr(2)));if(h=a.length-2,0>h)return n[0]=new g(a[0][d],0,0,a[-1>h?0:1][d]),n;for(i=0;h>i;i++)j=a[i][d],k=a[i+1][d],n[i]=new g(j,0,0,k),e&&(l=a[i+2][d],b[i]=(b[i]||0)+(k-j)*(k-j),c[i]=(c[i]||0)+(l-k)*(l-k));return n[i]=new g(a[i][d],0,0,a[i+1][d]),n},l=function(a,f,g,i,l,m){var n,o,p,q,r,s,t,u,v={},w=[],x=m||a[0];l="string"==typeof l?","+l+",":h,null==f&&(f=1);for(o in a[0])w.push(o);if(a.length>1){for(u=a[a.length-1],t=!0,n=w.length;--n>-1;)if(o=w[n],Math.abs(x[o]-u[o])>.05){t=!1;break}t&&(a=a.concat(),m&&a.unshift(m),a.push(a[1]),m=a[a.length-3])}for(b.length=c.length=d.length=0,n=w.length;--n>-1;)o=w[n],e[o]=-1!==l.indexOf(","+o+","),v[o]=k(a,o,e[o],m);for(n=b.length;--n>-1;)b[n]=Math.sqrt(b[n]),c[n]=Math.sqrt(c[n]);if(!i){for(n=w.length;--n>-1;)if(e[o])for(p=v[w[n]],s=p.length-1,q=0;s>q;q++)r=p[q+1].da/c[q]+p[q].da/b[q]||0,d[q]=(d[q]||0)+r*r;for(n=d.length;--n>-1;)d[n]=Math.sqrt(d[n])}for(n=w.length,q=g?4:1;--n>-1;)o=w[n],p=v[o],j(p,f,g,i,e[o]),t&&(p.splice(0,q),p.splice(p.length-q,q));return v},m=function(a,b,c){b=b||"soft";var d,e,f,h,i,j,k,l,m,n,o,p={},q="cubic"===b?3:2,r="soft"===b,s=[];if(r&&c&&(a=[c].concat(a)),null==a||a.length-1;){for(m=s[j],p[m]=i=[],n=0,l=a.length,k=0;l>k;k++)d=null==c?a[k][m]:"string"==typeof(o=a[k][m])&&"="===o.charAt(1)?c[m]+Number(o.charAt(0)+o.substr(2)):Number(o),r&&k>1&&l-1>k&&(i[n++]=(d+i[n-2])/2),i[n++]=d;for(l=n-q+1,n=0,k=0;l>k;k+=q)d=i[k],e=i[k+1],f=i[k+2],h=2===q?0:i[k+3],i[n++]=o=3===q?new g(d,e,f,h):new g(d,(2*e+d)/3,(2*e+f)/3,f);i.length=n}return p},n=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,m,n,o=1/c,p=a.length;--p>-1;)for(m=a[p],f=m.a,g=m.d-f,h=m.c-f,i=m.b-f,d=e=0,k=1;c>=k;k++)j=o*k,l=1-j,d=e-(e=(j*j*g+3*l*(j*h+l*i))*j),n=p*c+k-1,b[n]=(b[n]||0)+d*d},o=function(a,b){b=b>>0||6;var c,d,e,f,g=[],h=[],i=0,j=0,k=b-1,l=[],m=[];for(c in a)n(a[c],g,b);for(e=g.length,d=0;e>d;d++)i+=Math.sqrt(g[d]),f=d%b,m[f]=i,f===k&&(j+=i,f=d/b>>0,l[f]=m,h[f]=j,i=0,m=[]);return{length:j,lengths:h, segments:l}},p=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,global:!0,init:function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._func={},this._mod={},this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var d,e,f,g,h,i=b.values||[],j={},k=i[0],n=b.autoRotate||c.vars.orientToBezier;this._autoRotate=n?n instanceof Array?n:[["x","y","rotation",n===!0?0:Number(n)||0]]:null;for(d in k)this._props.push(d);for(f=this._props.length;--f>-1;)d=this._props[f],this._overwriteProps.push(d),e=this._func[d]="function"==typeof a[d],j[d]=e?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]():parseFloat(a[d]),h||j[d]!==i[0][d]&&(h=j);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?l(i,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,h):m(i,b.type,j),this._segCount=this._beziers[d].length,this._timeRes){var p=o(this._beziers,this._timeRes);this._length=p.length,this._lengths=p.lengths,this._segments=p.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(n=this._autoRotate)for(this._initialRotations=[],n[0]instanceof Array||(this._autoRotate=n=[n]),f=n.length;--f>-1;){for(g=0;3>g;g++)d=n[f][g],this._func[d]="function"==typeof a[d]?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1;d=n[f][2],this._initialRotations[f]=(this._func[d]?this._func[d].call(this._target):this._target[d])||0,this._overwriteProps.push(d)}return this._startRatio=c.vars.runBackwards?1:0,!0},set:function(b){var c,d,e,f,g,h,i,j,k,l,m=this._segCount,n=this._func,o=this._target,p=b!==this._startRatio;if(this._timeRes){if(k=this._lengths,l=this._curSeg,b*=this._length,e=this._li,b>this._l2&&m-1>e){for(j=m-1;j>e&&(this._l2=k[++e])<=b;);this._l1=k[e-1],this._li=e,this._curSeg=l=this._segments[e],this._s2=l[this._s1=this._si=0]}else if(b0){for(;e>0&&(this._l1=k[--e])>=b;);0===e&&bthis._s2&&ee&&(this._s2=l[++e])<=b;);this._s1=l[e-1],this._si=e}else if(b0){for(;e>0&&(this._s1=l[--e])>=b;);0===e&&bb?0:b>=1?m-1:m*b>>0,h=(b-c*(1/m))*m;for(d=1-h,e=this._props.length;--e>-1;)f=this._props[e],g=this._beziers[f][c],i=(h*h*g.da+3*d*(h*g.ca+d*g.ba))*h+g.a,this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i;if(this._autoRotate){var q,r,s,t,u,v,w,x=this._autoRotate;for(e=x.length;--e>-1;)f=x[e][2],v=x[e][3]||0,w=x[e][4]===!0?1:a,g=this._beziers[x[e][0]],q=this._beziers[x[e][1]],g&&q&&(g=g[c],q=q[c],r=g.a+(g.b-g.a)*h,t=g.b+(g.c-g.b)*h,r+=(t-r)*h,t+=(g.c+(g.d-g.c)*h-t)*h,s=q.a+(q.b-q.a)*h,u=q.b+(q.c-q.b)*h,s+=(u-s)*h,u+=(q.c+(q.d-q.c)*h-u)*h,i=p?Math.atan2(u-s,t-r)*w+v:this._initialRotations[e],this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i)}}}),q=p.prototype;p.bezierThrough=l,p.cubicToQuadratic=i,p._autoCSS=!0,p.quadraticToCubic=function(a,b,c){return new g(a,(2*b+a)/3,(2*b+c)/3,c)},p._cssRegister=function(){var a=f.CSSPlugin;if(a){var b=a._internals,c=b._parseToProxy,d=b._setPluginRatio,e=b.CSSPropTween;b._registerComplexSpecialProp("bezier",{parser:function(a,b,f,g,h,i){b instanceof Array&&(b={values:b}),i=new p;var j,k,l,m=b.values,n=m.length-1,o=[],q={};if(0>n)return h;for(j=0;n>=j;j++)l=c(a,m[j],g,h,i,n!==j),o[j]=l.end;for(k in b)q[k]=b[k];return q.values=o,h=new e(a,"bezier",0,0,l.pt,2),h.data=l,h.plugin=i,h.setRatio=d,0===q.autoRotate&&(q.autoRotate=!0),!q.autoRotate||q.autoRotate instanceof Array||(j=q.autoRotate===!0?0:Number(q.autoRotate),q.autoRotate=null!=l.end.left?[["left","top","rotation",j,!1]]:null!=l.end.x?[["x","y","rotation",j,!1]]:!1),q.autoRotate&&(g._transform||g._enableTransforms(!1),l.autoRotate=g._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,g._overwriteProps.push("rotation")),i._onInitTween(l.proxy,q,g._tween),h}})}},q._mod=function(a){for(var b,c=this._overwriteProps,d=c.length;--d>-1;)b=a[c[d]],b&&"function"==typeof b&&(this._mod[c[d]]=b)},q._kill=function(a){var b,c,d=this._props;for(b in this._beziers)if(b in a)for(delete this._beziers[b],delete this._func[b],c=d.length;--c>-1;)d[c]===b&&d.splice(c,1);if(d=this._autoRotate)for(c=d.length;--c>-1;)a[d[c][2]]&&d.splice(c,1);return this._super._kill.call(this,a)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.0",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N=document,O=function(a){return N.createElementNS?N.createElementNS("http://www.w3.org/1999/xhtml",a):N.createElement(a)},P=O("div"),Q=O("img"),R=g._internals={_specialProps:i},S=navigator.userAgent,T=function(){var a=S.indexOf("Android"),b=O("a");return m=-1!==S.indexOf("Safari")&&-1===S.indexOf("Chrome")&&(-1===a||Number(S.substr(a+8,1))>3),o=m&&Number(S.substr(S.indexOf("Version/")+8,1))<6,n=-1!==S.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(S)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(S))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),U=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},V=function(a){window.console&&console.log(a)},W="",X="",Y=function(a,b){b=b||P;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(X=3===d?"ms":c[d],W="-"+X.toLowerCase()+"-",X+a):null},Z=N.defaultView?N.defaultView.getComputedStyle:function(){},$=g.getStyle=function(a,b,c,d,e){var f;return T||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||Z(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):U(a)},_=R.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=P.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+$(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||N.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(P),h=parseFloat(P[k?"offsetWidth":"offsetHeight"]),l.removeChild(P),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=_(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},aa=R.calculateOffset=function(a,b,c){if("absolute"!==$(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=$(a,"margin"+d,c);return a["offset"+d]-(_(a,b,parseFloat(e),e.replace(w,""))||0)},ba=function(a,b){var c,d,e,f={};if(b=b||Z(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Ca===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ba===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return T||(f.opacity=U(a)),d=Pa(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Ea&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},ca=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:aa(a,g),void 0!==j[g]&&(h=new ra(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},da={width:["Left","Right"],height:["Top","Bottom"]},ea=["marginLeft","marginRight","marginTop","marginBottom"],fa=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||Z(a))[b]||0;if(a.getBBox&&Ma(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=da[b],f=e.length;for(c=c||Z(a,null);--f>-1;)d-=parseFloat($(a,"padding"+e[f],c,!0))||0,d-=parseFloat($(a,"border"+e[f]+"Width",c,!0))||0;return d},ga=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ha=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ja=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},ka={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},la=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},ma=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),ka[a])c=ka[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=la(g+1/3,d,e),c[1]=la(g,d,e),c[2]=la(g-1/3,d,e);else c=a.match(s)||ka.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=ka.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},na=function(a,b){var c,d,e,f=a.match(oa)||[],g=0,h=f.length?"":a;for(c=0;c0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;nn--)for(;++nm--)for(;++mi;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},ra=(R._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new ra(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},R.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof sa||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ta=function(a,b,c,d,e,f){var g=new sa(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},ua=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new sa(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&oa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,oa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ha(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&oa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&T,p=ma(p,C),u=ma(u,C),y=p.length+u.length>6,y&&!T&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(T||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ha(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ha(u[1],p[1]),"%,",!1).appendXtra("",p[2],ha(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),oa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n0;)j["xn"+va]=0,j["xs"+va]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new sa(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var wa=function(a,b){b=b||{},this.p=b.prefix?Y(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||pa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},xa=R._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;dh.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return ua(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format($(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){xa(a,{parser:function(a,d,e,f,g,h,i){var j=new sa(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=m||n;var za,Aa="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ba=Y("transform"),Ca=W+"transform",Da=Y("transformOrigin"),Ea=null!==Y("perspective"),Fa=R.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Ea?g.defaultForce3D||"auto":!1},Ga=window.SVGElement,Ha=function(a,b,c){var d,e=N.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ia=N.documentElement,Ja=function(){var a,b,c,d=p||/Android/i.test(S)&&!window.chrome;return N.createElementNS&&!d&&(a=Ha("svg",Ia),b=Ha("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Da]="50% 50%",b.style[Ba]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Ea),Ia.removeChild(a)),d}(),Ka=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Oa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),b=ga(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Na&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},La=function(a){try{return a.getBBox()}catch(a){}},Ma=function(a){return!!(Ga&&a.getBBox&&a.getCTM&&La(a)&&(!a.parentNode||a.parentNode.getBBox&&a.parentNode.getCTM))},Na=[1,0,0,1,0,0],Oa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Fa,j=1e5,k=a.style;if(Ba?d=$(a,Ca,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ba&&((h="none"===Z(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ia.appendChild(a)),d=$(a,Ca,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Ta(k,"display"),g&&Ia.removeChild(a)),(i.svg||a.getBBox&&Ma(a))&&(c&&-1!==(k[Ba]+"").indexOf("matrix")&&(d=k[Ba],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Na;for(e=(d||"").match(s)||[],va=e.length;--va>-1;)f=Number(e[va]),e[va]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Pa=R.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Fa:new Fa,n=m.scaleX<0,o=2e-5,p=1e5,q=Ea?parseFloat($(a,Da,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getBBox||!Ma(a)),m.svg&&(Ka(a,$(a,Da,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),za=g.useSVGTransformAttr||Ja),f=Oa(a),f!==Na){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Ea||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Ea&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(za&&a.style[Ba]?b.delayedCall(.001,function(){Ta(a.style,Ba)}):!za&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Qa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),va=0;4>va;va++)z=ea[va],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):_(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>va?-d.ieOffsetX:-d.ieOffsetY:2>va?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===va||2===va?1:B)))+"px"}}},Ra=R.set3DTransformRatio=R.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D;if(((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||za&&L||!Ea)return void(B||z.skewX||L?(B*=K,x=z.skewX*K,y=1e5,b=Math.cos(B)*E,e=Math.sin(B)*E,c=Math.sin(B-x)*-F,f=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(s=Math.tan(x-z.skewY*K),s=Math.sqrt(1+s*s),c*=s,f*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s)),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset,za&&(z.xPercent||z.yPercent)&&(p=this.t.getBBox(),H+=.01*z.xPercent*p.width,I+=.01*z.yPercent*p.height),p=1e-6,p>H&&H>-p&&(H=0),p>I&&I>-p&&(I=0)),u=(b*y|0)/y+","+(e*y|0)/y+","+(c*y|0)/y+","+(f*y|0)/y+","+H+","+I+")",L&&za?this.t.setAttribute("transform","matrix("+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(p=1e-4,p>E&&E>-p&&(E=G=2e-5),p>F&&F>-p&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||z.skewX)B*=K,q=b=Math.cos(B),r=e=Math.sin(B),z.skewX&&(B-=z.skewX*K,q=Math.cos(B),r=Math.sin(B),"simple"===z.skewType&&(s=Math.tan((z.skewX-z.skewY)*K),s=Math.sqrt(1+s*s),q*=s,r*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s))),c=-r,f=q;else{if(!(D||C||1!==G||M||L))return void(A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));b=f=1,c=e=0}j=1,d=g=h=i=k=l=0,m=M?-1/M:0,o=z.zOrigin,p=1e-6,v=",",w="0",B=D*K,B&&(q=Math.cos(B),r=Math.sin(B),h=-r,k=m*-r,d=b*r,g=e*r,j=q,m*=q,b*=q,e*=q),B=C*K,B&&(q=Math.cos(B),r=Math.sin(B),s=c*q+d*r,t=f*q+g*r,i=j*r,l=m*r,d=c*-r+d*q,g=f*-r+g*q,j*=q,m*=q,c=s,f=t),1!==G&&(d*=G,g*=G,j*=G,m*=G),1!==F&&(c*=F,f*=F,i*=F,l*=F),1!==E&&(b*=E,e*=E,h*=E,k*=E),(o||L)&&(o&&(H+=d*-o,I+=g*-o,J+=j*-o+o),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset),p>H&&H>-p&&(H=w),p>I&&I>-p&&(I=w),p>J&&J>-p&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(p>b&&b>-p?w:b)+v+(p>e&&e>-p?w:e)+v+(p>h&&h>-p?w:h),u+=v+(p>k&&k>-p?w:k)+v+(p>c&&c>-p?w:c)+v+(p>f&&f>-p?w:f),C||D||1!==G?(u+=v+(p>i&&i>-p?w:i)+v+(p>l&&l>-p?w:l)+v+(p>d&&d>-p?w:d),u+=v+(p>g&&g>-p?w:g)+v+(p>j&&j>-p?w:j)+v+(p>m&&m>-p?w:m)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ba]=u};j=Fa.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,xa("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j;"function"==typeof i[c]&&(j=i[c],i[c]=b);var k,l,m,n,o,p,s,t,u,v=a._gsTransform,w=a.style,x=1e-6,y=Aa.length,z=i,A={},B="transformOrigin",C=Pa(a,e,!0,z.parseTransform),D=z.transform&&("function"==typeof z.transform?z.transform(r,q):z.transform);if(d._transform=C,D&&"string"==typeof D&&Ba)l=P.style,l[Ba]=D,l.display="block",l.position="absolute",N.body.appendChild(P),k=Pa(P,null,!1),C.svg&&(p=C.xOrigin,s=C.yOrigin,k.x-=C.xOffset,k.y-=C.yOffset,(z.transformOrigin||z.svgOrigin)&&(D={},Ka(a,ga(z.transformOrigin),D,z.svgOrigin,z.smoothOrigin,!0),p=D.xOrigin,s=D.yOrigin,k.x-=D.xOffset-C.xOffset,k.y-=D.yOffset-C.yOffset),(p||s)&&(t=Oa(P,!0),k.x-=p-(p*t[0]+s*t[2]),k.y-=s-(p*t[1]+s*t[3]))),N.body.removeChild(P),k.perspective||(k.perspective=C.perspective),null!=z.xPercent&&(k.xPercent=ia(z.xPercent,C.xPercent)),null!=z.yPercent&&(k.yPercent=ia(z.yPercent,C.yPercent));else if("object"==typeof z){if(k={scaleX:ia(null!=z.scaleX?z.scaleX:z.scale,C.scaleX),scaleY:ia(null!=z.scaleY?z.scaleY:z.scale,C.scaleY),scaleZ:ia(z.scaleZ,C.scaleZ),x:ia(z.x,C.x),y:ia(z.y,C.y),z:ia(z.z,C.z),xPercent:ia(z.xPercent,C.xPercent),yPercent:ia(z.yPercent,C.yPercent),perspective:ia(z.transformPerspective,C.perspective)},o=z.directionalRotation,null!=o)if("object"==typeof o)for(l in o)z[l]=o[l];else z.rotation=o;"string"==typeof z.x&&-1!==z.x.indexOf("%")&&(k.x=0,k.xPercent=ia(z.x,C.xPercent)),"string"==typeof z.y&&-1!==z.y.indexOf("%")&&(k.y=0,k.yPercent=ia(z.y,C.yPercent)),k.rotation=ja("rotation"in z?z.rotation:"shortRotation"in z?z.shortRotation+"_short":"rotationZ"in z?z.rotationZ:C.rotation-C.skewY,C.rotation-C.skewY,"rotation",A),Ea&&(k.rotationX=ja("rotationX"in z?z.rotationX:"shortRotationX"in z?z.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",A),k.rotationY=ja("rotationY"in z?z.rotationY:"shortRotationY"in z?z.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",A)),k.skewX=ja(z.skewX,C.skewX-C.skewY),(k.skewY=ja(z.skewY,C.skewY))&&(k.skewX+=k.skewY,k.rotation+=k.skewY)}for(Ea&&null!=z.force3D&&(C.force3D=z.force3D,n=!0),C.skewType=z.skewType||C.skewType||g.defaultSkewType,m=C.force3D||C.z||C.rotationX||C.rotationY||k.z||k.rotationX||k.rotationY||k.perspective,m||null==z.scale||(k.scaleZ=1);--y>-1;)u=Aa[y],D=k[u]-C[u],(D>x||-x>D||null!=z[u]||null!=M[u])&&(n=!0, f=new sa(C,u,C[u],D,f),u in A&&(f.e=A[u]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return D=z.transformOrigin,C.svg&&(D||z.svgOrigin)&&(p=C.xOffset,s=C.yOffset,Ka(a,ga(D),k,z.svgOrigin,z.smoothOrigin),f=ta(C,"xOrigin",(v?C:k).xOrigin,k.xOrigin,f,B),f=ta(C,"yOrigin",(v?C:k).yOrigin,k.yOrigin,f,B),(p!==C.xOffset||s!==C.yOffset)&&(f=ta(C,"xOffset",v?p:C.xOffset,C.xOffset,f,B),f=ta(C,"yOffset",v?s:C.yOffset,C.yOffset,f,B)),D=za?null:"0px 0px"),(D||Ea&&m&&C.zOrigin)&&(Ba?(n=!0,u=Da,D=(D||$(a,u,e,!1,"50% 50%"))+"",f=new sa(w,u,0,0,f,-1,B),f.b=w[u],f.plugin=h,Ea?(l=C.zOrigin,D=D.split(" "),C.zOrigin=(D.length>2&&(0===l||"0px"!==D[2])?parseFloat(D[2]):l)||0,f.xs0=f.e=D[0]+" "+(D[1]||"50%")+" 0px",f=new sa(C,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=C.zOrigin):f.xs0=f.e=D):ga(D+"",C)),n&&(d._transformType=C.svg&&za||!m&&3!==this._transformType?2:3),j&&(i[c]=j),f},prefix:!0}),xa("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),xa("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;jp?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=_(a,"borderLeft",o,t),w=_(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=_(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=ua(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:pa("0px 0px 0px 0px",!1,!0)}),xa("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return ua(a.style,c,this.format($(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:pa("0px 0px",!1,!0)}),xa("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||Z(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=$(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),Q.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-Q.width:a.offsetHeight-Q.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ga}),xa("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ga(-1===a.indexOf(" ")?a+" "+a:a)}}),xa("perspective",{defaultValue:"0px",prefix:!0}),xa("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xa("transformStyle",{prefix:!0}),xa("backfaceVisibility",{prefix:!0}),xa("userSelect",{prefix:!0}),xa("margin",{parser:qa("marginTop,marginRight,marginBottom,marginLeft")}),xa("padding",{parser:qa("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xa("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",b=this.format(b).split(",").join(j)):(h=this.format($(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),xa("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xa("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),xa("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=$(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/_(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+$(a,"borderTopStyle",e,!1,"solid")+" "+$(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(oa)||["#000"])[0]}}),xa("borderWidth",{parser:qa("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xa("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new sa(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Sa=function(a){var b,c=this.t,d=c.filter||$(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!$(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};xa("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat($(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===$(a,"visibility",e)&&0!==b&&(h=0),T?f=new sa(i,"opacity",h,b-h,f):(f=new sa(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Sa),j&&(f=new sa(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Ta=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Ua=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Ta(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};xa("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new sa(a,d,0,0,g,2),g.setRatio=Ua,g.pr=-11,c=!0,g.b=o,k=ba(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=ca(a,k,ba(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Va=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Da:i[c].p),Ta(g,c);e&&(Ta(g,Ba),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(xa("clearProps",{parser:function(a,b,d,e,f){return f=new sa(a,d,0,0,f,2),f.setRatio=Va,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),va=j.length;va--;)ya(j[va]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=Z(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=$(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ba(a,e),A.cssText=t+";"+b,n=ca(a,n,ba(a)).difs,!T&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ba?m&&(l=!0,""===A.zIndex&&(w=$(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new sa(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ba?Ra:Qa,x.data=this._transform||Pa(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=$(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=ma(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=ua(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=ua(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=fa(a,g,e),o="px"):"left"===g||"top"===g?(j=aa(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=_(a,g,j,o),"%"===p?(j/=_(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=_(a,g,1,p):"px"!==p&&(l=_(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new sa(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):V("invalid "+g+" tween value: "+b[g]):(c=new sa(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d-1;)Xa(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ba(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Xa(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Xa(a,k,m),i.render(c,!0,!0),Xa(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=ca(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0),function(){var a=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(a,b,c){return this._tween=c,!0}}),b=function(a){for(;a;)a.f||a.blob||(a.m=Math.round),a=a._next},c=a.prototype;c._onInitAllProps=function(){for(var a,c,d,e=this._tween,f=e.vars.roundProps.join?e.vars.roundProps:e.vars.roundProps.split(","),g=f.length,h={},i=e._propLookup.roundProps;--g>-1;)h[f[g]]=Math.round;for(g=f.length;--g>-1;)for(a=f[g],c=e._firstPT;c;)d=c._next,c.pg?c.t._mod(h):c.n===a&&(2===c.f&&c.t?b(c.t._firstPT):(this._add(c.t,a,c.s,c.c),d&&(d._prev=c._prev),c._prev?c._prev._next=d:e._firstPT===c&&(e._firstPT=d),c._next=c._prev=null,e._propLookup[a]=i)),c=d;return!1},c._add=function(a,b,c,d){this._addTween(a,b,c,c+d,b,Math.round),this._overwriteProps.push(b)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.0",init:function(a,b,c,d){var e,f;if("function"!=typeof a.setAttribute)return!1;for(e in b)f=b[e],"function"==typeof f&&(f=f(d,a)),this._addTween(a,"setAttribute",a.getAttribute(e)+"",f+"",e,!1,e),this._overwriteProps.push(e);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.0",API:2,init:function(a,b,c,d){"object"!=typeof b&&(b={rotation:b}),this.finals={};var e,f,g,h,i,j,k=b.useRadians===!0?2*Math.PI:360,l=1e-6;for(e in b)"useRadians"!==e&&(h=b[e],"function"==typeof h&&(h=h(d,a)),j=(h+"").split("_"),f=j[0],g=parseFloat("function"!=typeof a[e]?a[e]:a[e.indexOf("set")||"function"!=typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]()),h=this.finals[e]="string"==typeof f&&"="===f.charAt(1)?g+parseInt(f.charAt(0)+"1",10)*Number(f.substr(2)):Number(f)||0,i=h-g,j.length&&(f=j.join("_"),-1!==f.indexOf("short")&&(i%=k,i!==i%(k/2)&&(i=0>i?i+k:i-k)),-1!==f.indexOf("_cw")&&0>i?i=(i+9999999999*k)%k-(i/k|0)*k:-1!==f.indexOf("ccw")&&i>0&&(i=(i-9999999999*k)%k-(i/k|0)*k)),(i>l||-l>i)&&(this._addTween(a,e,g,g+i,e),this._overwriteProps.push(e)));return!0},set:function(a){var b;if(1!==a)this._super.setRatio.call(this,a);else for(b=this._firstPT;b;)b.f?b.t[b.p](this.finals[b.p]):b.t[b.p]=this.finals[b.p],b=b._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return athis._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a,b){"use strict";var c={},d=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!d.TweenLite){var e,f,g,h,i,j=function(a){var b,c=a.split("."),e=d;for(b=0;b-1;)(l=p[f[s]]||new q(f[s],[])).gsClass?(i[s]=l.gsClass,t--):k&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+e).split("."),n=m.pop(),o=j(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(d[n]=c[n]=o,r="undefined"!=typeof module&&module.exports,!r&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return o});else if(r)if(e===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s-1;)for(f=i[j],e=d?s("easing."+f,null,!0):k.easing[f]||{},g=l.length;--g>-1;)h=l[g],v[f+"."+h]=v[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(g=u.prototype,g._calcEnd=!1,g.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=e.length;--f>-1;)g=e[f]+",Power"+f,w(new u(null,null,1,f),g,"easeOut",!0),w(new u(null,null,2,f),g,"easeIn"+(0===f?",easeNone":"")),w(new u(null,null,3,f),g,"easeInOut");v.linear=k.easing.Linear.easeIn,v.swing=k.easing.Quad.easeInOut;var x=s("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});g=x.prototype,g.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,j=this._listeners[a],k=0;for(this!==h||i||h.wake(),null==j&&(this._listeners[a]=j=[]),g=j.length;--g>-1;)f=j[g],f.c===b&&f.s===c?j.splice(g,1):0===k&&f.pr-1;)if(d[c].c===b)return void d.splice(c,1)},g.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var y=a.requestAnimationFrame,z=a.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},B=A();for(e=["ms","moz","webkit","o"],f=e.length;--f>-1&&!y;)y=a[e[f]+"RequestAnimationFrame"],z=a[e[f]+"CancelAnimationFrame"]||a[e[f]+"CancelRequestAnimationFrame"];s("Ticker",function(a,b){var c,d,e,f,g,j=this,k=A(),m=b!==!1&&y?"auto":!1,o=500,p=33,q="tick",r=function(a){var b,h,i=A()-B;i>o&&(k+=i-p),B+=i,j.time=(B-k)/1e3,b=j.time-g,(!c||b>0||a===!0)&&(j.frame++,g+=b+(b>=f?.004:f-b),h=!0),a!==!0&&(e=d(r)),h&&j.dispatchEvent(q)};x.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagSmoothing=function(a,b){o=a||1/l,p=Math.min(b,o,0)},j.sleep=function(){null!=e&&(m&&z?z(e):clearTimeout(e),d=n,e=null,j===h&&(i=!1))},j.wake=function(a){null!==e?j.sleep():a?k+=-B+(B=A()):j.frame>10&&(B=A()-o+5),d=0===c?n:m&&y?y:function(a){return setTimeout(a,1e3*(g-j.time)+1|0)},j===h&&(i=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),g=this.time+f,void j.wake()):c},j.useRAF=function(a){return arguments.length?(j.sleep(),m=a,void j.fps(c)):m},j.fps(a),setTimeout(function(){"auto"===m&&j.frame<5&&"hidden"!==document.visibilityState&&j.useRAF(!1)},1500)}),g=k.Ticker.prototype=new k.events.EventDispatcher,g.constructor=k.Ticker;var C=s("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,V){i||h.wake();var c=this.vars.useFrames?U:V;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});h=C.ticker=new k.Ticker,g=C.prototype,g._dirty=g._gc=g._initted=g._paused=!1,g._totalTime=g._time=0,g._rawPrevTime=-1,g._next=g._last=g._onUpdate=g._timeline=g.timeline=null,g._paused=!1;var D=function(){i&&A()-B>2e3&&h.wake(),setTimeout(D,2e3)};D(),g.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},g.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},g.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},g.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},g.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},g.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},g.render=function(a,b,c){},g.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},g.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&a-1;)"{self}"===a[b]&&(c[b]=this);return c},g._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},g.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=o(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},g.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},g.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:a,b)):this._time},g.totalTime=function(a,b,c){if(i||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(I.length&&X(),this.render(a,b,!1),I.length&&X())}return this},g.progress=g.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},g.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},g.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},g.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||l,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},g.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},g.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(i||a||h.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var E=s("core.SimpleTimeline",function(a){C.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});g=E.prototype=new C,g.constructor=E,g.kill()._gc=!1,g._first=g._last=g._recent=null,g._sortChildren=!1,g.add=g.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},g._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},g.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},g.rawTime=function(){return i||h.wake(),this._totalTime};var F=s("TweenLite",function(b,c,d){if(C.call(this,c,d),this.render=F.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:F.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?T[F.defaultOverwrite]:"number"==typeof i?i>>0:T[i],(h||b instanceof Array||b.push&&o(b))&&"number"!=typeof b[0])for(this._targets=g=m(b),this._propLookup=[],this._siblings=[],e=0;e1&&$(f,this,null,1,this._siblings[e])):(f=g[e--]=F.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Y(b,this,!1),1===i&&this._siblings.length>1&&$(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-l,this.render(Math.min(0,-this._delay)))},!0),G=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType); },H=function(a,b){var c,d={};for(c in a)S[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!P[c]||P[c]&&P[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};g=F.prototype=new C,g.constructor=F,g.kill()._gc=!1,g.ratio=0,g._firstPT=g._targets=g._overwrittenProps=g._startAt=null,g._notifyPluginsOfEnabled=g._lazy=!1,F.version="1.19.0",F.defaultEase=g._ease=new u(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(a,b){h.lagSmoothing(a,b)},F.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(F.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)};var I=[],J={},K=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},M=function(a,b,c,d){var e,f,g,h,i,j,k,l=[a,b],m=0,n="",o=0;for(l.start=a,c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(K)||[],f=b.match(K)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=L,l},N=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k,l="get"===c?a[b]:c,m=typeof a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:l,f:"function"===m,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-l||0};return"number"!==m&&("function"===m&&"get"===c&&(k=b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),o.s=l=g?a[k](g):a[k]()),"string"==typeof l&&(g||isNaN(l))?(o.fp=g,j=M(l,d,h||F.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):n||(o.s=parseFloat(l),o.c=parseFloat(d)-o.s||0)),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},O=F._internals={isArray:o,isSelector:G,lazyTweens:I,blobDif:M},P=F._plugins={},Q=O.tweenLookup={},R=0,S=O.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},T={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},U=C._rootFramesTimeline=new E,V=C._rootTimeline=new E,W=30,X=O.lazyRender=function(){var a,b=I.length;for(J={};--b>-1;)a=I[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);I.length=0};V._startTime=h.time,U._startTime=h.frame,V._active=U._active=!0,setTimeout(X,1),C._updateRoot=F.render=function(){var a,b,c;if(I.length&&X(),V.render((h.time-V._startTime)*V._timeScale,!1,!1),U.render((h.frame-U._startTime)*U._timeScale,!1,!1),I.length&&X(),h.frame>=W){W=h.frame+(parseInt(F.autoSleep,10)||120);for(c in Q){for(b=Q[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete Q[c]}if(c=V._first,(!c||c._paused)&&F.autoSleep&&!U._first&&1===h._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||h.sleep()}}},h.addEventListener("tick",C._updateRoot);var Y=function(a,b,c){var d,e,f=a._gsTweenID;if(Q[f||(a._gsTweenID=f="t"+R++)]||(Q[f]={target:a,tweens:[]}),b&&(d=Q[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return Q[f].tweens},Z=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=F.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},$=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+l,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||_(b,0,o),0===_(h,j,o)&&(m[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(m[n++]=h)));for(f=n;--f>-1;)if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!Z(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},_=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*l>f-b?l:(f+=a.totalDuration()/a._timeScale/e)>b+l?0:f-b-l};g._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=F.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)S[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=F.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof u?k:"function"==typeof k?new u(k,g.easeParams):v[k]||F.defaultEase:F.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&F._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},g._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;J[b._gsTweenID]&&X(),this.vars.css||b.style&&b!==a&&b.nodeType&&P.css&&this.vars.autoCSS!==!1&&H(this.vars,b);for(g in this.vars)if(l=this.vars[g],S[g])l&&(l instanceof Array||l.push&&o(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(P[g]&&(j=new P[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=N.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&$(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(J[b._gsTweenID]=!0),i)},g.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===l&&"isPause"!==this.data)&&j!==a&&(c=!0,j>l&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:l);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==l||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:l)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&k>=.5)&&(k=1-k),3===m&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===m?this.ratio=1-k:2===m?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,I.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===l&&g!==l&&(this._rawPrevTime=0))}},g._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:F.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((o(b)||G(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(F.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!Z(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},g.invalidate=function(){return this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-l,this.render(Math.min(0,-this._delay))),this},g._enabled=function(a,b){if(i||h.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Y(d[c],this,!0);else this._siblings=Y(this.target,this,!0)}return C.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?F._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},F.to=function(a,b,c){return new F(a,b,c)},F.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new F(a,b,c)},F.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new F(a,b,d)},F.delayedCall=function(a,b,c,d,e){return new F(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},F.set=function(a,b){return new F(a,0,b)},F.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:F.selector(a)||a;var c,d,e,f;if((o(a)||G(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(F.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Y(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},F.killTweensOf=F.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=F.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var aa=s("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=aa.prototype},!0);if(g=aa.prototype,aa.version="1.19.0",aa.API=2,g._firstPT=null,g._addTween=N,g.setRatio=L,g._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},g._mod=g._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},F._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},aa.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===aa.API&&(P[(new a[b])._propName]=a[b]);return!0},r.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=s("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){aa.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new aa(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,aa.activate([g]),g},e=a._gsQueue){for(f=0;f0}function t(a){return r(a)&&"[object Object]"===Object.prototype.toString.call(a)}function u(a){return r(a)&&/^(1|3|11)$/.test(a.nodeType)}function v(a){return"string"==typeof a}function w(a,b,c){for(var d=Object(a),e=s(d)?d:t(d)?j(d):[d],f=parseInt(e.length)||0,g=0;g/g," "+e+" "),f=n.textContent.replace(/\s+/g," ").trim(),r=f.split(" ").map(function(a){if(a===e)return x.appendChild(A("br")),null;if(l){var b=a.split("").map(function(a){return v=A(d,{class:c.charClass+" "+c.splitClass,style:"display: inline-block;",textContent:a})});h.apply(s,b)}return k||j?(u=A(d,{class:c.wordClass+" "+c.splitClass,style:"display: inline-block; position:"+(k?"relative":"static;"),children:l?b:null,textContent:l?null:a}),x.appendChild(u)):w(b,function(a){x.appendChild(a)}),x.appendChild(p(" ")),u},this).filter(function(a){return a}),b.innerHTML="",b.appendChild(x),h.apply(this.words,r),h.apply(this.chars,s),m||j){var B,C,D,E,F,G,H,I,J,K,L,z=[];H=y(b).nodes=b.getElementsByTagName(d),I=b.parentElement,J=b.nextElementSibling,K=a.getComputedStyle(b),L=K.textAlign,m&&(E={left:x.offsetLeft,top:x.offsetTop,width:x.offsetWidth},G=b.offsetWidth,F=b.offsetHeight,y(b).cssWidth=b.style.width,y(b).cssHeight=b.style.height),w(H,function(a){if(a!==x){var c,b=a.parentElement===x;j&&b&&(c=y(a).top=a.offsetTop,c!==C&&(C=c,z.push(B=[])),B.push(a)),m&&(y(a).top=c||a.offsetTop,y(a).left=a.offsetLeft,y(a).width=a.offsetWidth,y(a).height=D||(D=a.offsetHeight))}}),I.removeChild(b),j&&(x=o(),q=z.map(function(a){return x.appendChild(t=A(d,{class:c.lineClass+" "+c.splitClass,style:"display: block; text-align:"+L+"; width: 100%;"})),m&&(y(t).type="line",y(t).top=y(a[0]).top,y(t).height=D),w(a,function(a){k?t.appendChild(a):l?i.call(a.children).forEach(function(a){t.appendChild(a)}):t.appendChild(p(a.textContent)),t.appendChild(p(" "))}),t}),b.replaceChild(x,b.firstChild),h.apply(this.lines,q)),m&&(b.style.width=b.style.width||G+"px",b.style.height=F+"px",w(H,function(a){var b="line"===y(a).type,c=!b&&"line"===y(a.parentElement).type;a.style.top=c?0:y(a).top+"px",a.style.left=b?E.left+"px":(c?y(a).left-E.left:y(a).left)+"px",a.style.height=y(a).height+"px",a.style.width=b?E.width+"px":y(a).width+"px",a.style.position="absolute"})),J?I.insertBefore(b,J):I.appendChild(b)}}function D(a,b){return this instanceof D?(this.isSplit=!1,this.settings=x(q,b),this.elements=B(a),void(this.elements.length&&(this.originals=this.elements.map(function(a){return y(a).html=y(a).html||a.innerHTML}),this.split()))):new D(a,b)}if(b.addEventListener&&Function.prototype.bind){var e="splitType"+1*new Date,f={},g=0,h=Array.prototype.push,i=Array.prototype.slice,j=Object.keys,l=(Object.prototype.hasOwnProperty,Object.defineProperty),n=(Object.defineProperties,Object.getOwnPropertyDescriptor),o=b.createDocumentFragment.bind(b),p=b.createTextNode.bind(b),q={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"div",DEBUG:!1};return l(D,"defaults",{get:function(){return q},set:function(a){q=x(q,a)}}),D.prototype.split=function(b){this.revert(),this.lines=[],this.words=[],this.chars=[],b!==c&&(this.settings=x(this.settings,b)),w(this.elements,function(a){C.call(this,a),y(a).isSplit=!0},this),this.isSplit=!0,w(this.elements,function(a){for(var b=y(a).nodes||[],c=0,d=b.length;c https://moussaouiassurances.com/wp-content/plugins/LayerSlider/static/layerslider/js/layerslider.kreaturamedia.jquery.js /* * LayerSlider * * (c) 2011-2018 George Krupa, John Gera & Kreatura Media * * Plugin web: https://layerslider.kreaturamedia.com/ * licenses: http://codecanyon.net/licenses/standard */ ;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1o.2H={7T:{a9:!1,bt:!1},fz:"6K"!=2u iy&&iy,cY:[],9X:[],8W:[],2M:{},fa:{},bJ:2E.bJ,f4:5o(\'8m[23*="5K.dU.bS.js"]\')[0],c9:"",7Q:!1,iM:19(e,t,i,s){1d a,o,r="5f"==2u e?5o("#"+e).3j():e;2O(t){1j"bS":o="t5 5o fQ",a=\'fZ gX h7 sP sO 5x or dr sM sL an sK ss of 4v 5o gg sl sk 2c 9n 2o 68 dr si. cQ rW on dr b3 rV rU 2o 4v rT aY of 9n fW 7S 4v "rS rR rQ 2o 3I" rP rO 4v rN & rK rJ 6m.\';1x;1j"ip":o="rI 5o fQ",a="fZ gX h7 iv di rH an rG 6q ("+i+") of 4v 5o gg. 9n rE at rs 6q "+s+\' or rr. cQ 8h 5o 2o 1.10.x or rq. rp: cQ do 5g fM 4v 5o ro 5x on b3 . ri rh r9 r7 r6 r5 5o by qW qV.\'}5o(\'<1B 2s="ls-il">!\'+o+"<8s>"+a+"").qT(r)},it:19(e){18.fa[e]=2v,2q 18.fa[e]},dq:19(e,t){2c(1d i=e.1K("."),s=t.1K("."),a=0;a1l(s[a]))}1Q i.1t,s.1t,!0}},qS.qP.1i=19(e){1Q(""+18).1i(e)},19(e){"fM qO";1o.7g={},e.fn.5a=19(i,s,a,o){i=i||{};1d r,n=e.fn.bS;if(1o.2H.dq("1.8.0",n,"1.8.0"))1Q(2u i).4f("5U|6K")?18.3f(19(s){r="qN"+1A.2J().dw(36).gf(2,9),e(18).1a("7j")||(1o.7g[r]=4e t(18,e(18),i,r))}):"1a"===i?1o.7g[18.1a("7j")]:"4I"===i?1o.7g[18.1a("7j")].2B.4I():"qM"===i?1o.7g[18.1a("7j")].1p.1m.3T||!1:"6t"===i?1o.7g[18.1a("7j")].6t||!1:"qL"===i?1o.7g[18.1a("7j")].o||!1:"dy"===i?1o.7g[18.1a("7j")].dy||!1:18.3f(19(t){1d r=1o.7g[e(18).1a("7j")];r&&r.2B.8O(i,s,a,o),r=2v});1o.2H.iM(e(18),"ip",n,"1.8.0")};1d t=19(t,i,s,a){i.1a("7j",a).1J("1a-5K-dA",a);1d o=18,r=o.qF=1o.2H.fz?1o.2H.fz:1o;o.1p={1m:{dC:"|",1V:"qE",58:["#3i","#1Y","#2I","#1O","#6v","#3l","#3l-6v"],3T:{22:"24",8Q:"51",dH:!0,iI:!0,iL:!0,7o:-1,ck:-1,iT:-1,5Q:-1,iZ:"ap",dK:2v,d3:!1,9b:"ai",jm:"50% 50%",jv:!1,9h:!0,ag:!0,5n:!1,jC:1,jO:!1,dM:!1,5V:"dR",a8:!1,4a:1,bI:qD,5O:-1,dV:!0,9W:!1,86:!1,7X:bz,4p:"qA",9u:"/5K/dX/",9v:"55",9y:!1,gR:"no-6a",h3:"2i",ha:"2G",hi:"50% 50%",dY:!0,9L:!0,bo:!0,hI:!0,hP:!0,hW:!0,bn:!1,hZ:!1,i1:!0,i4:!1,6C:"1r",bl:"60%",e1:1q,b2:60,e2:35,e3:1q,aS:0,e6:!0,aO:"2G",iu:"qx.qw",e8:40,fH:10,et:"8l",iP:!1,3m:!1,iR:"1T: -iU; 27: -iU;",eu:!1,j2:"qu",j8:!0,ev:!1,jb:-1,ew:-1,ex:!0,ez:!1,eA:!0,jk:!1,qn:""}},1c:{9I:"9n (qm: "+a+") 7i:"},1S:{8J:{ql:["1a","1P"],1P:["1a","1P"],qe:["1a","bb"],7D:["1a","7D"],7Z:["1a","7Z"],jT:["1a","jT"],7B:["1a","7B"],7A:["1a","7A"],qa:["1a","a5"],q9:["1a","cs"],q8:["1a","cs"],q6:["1a","ci"],q5:["1a","ci"],q4:["1a","3e"],q1:["1a","3e"],2D:["1a","2D"],4U:["1a","4U"],4Z:["1a","4Z"],gr:["2z","gv"],gA:["2z","6n"],gD:["2z","2g"],gG:["2z","2g"],gH:["2z","2V"],q0:["1u","3A"],pZ:["1u","2o"],gV:["1F","22"],h0:["1F","7b"],h6:["1F","eN"],h9:["1F","3k"],hc:["1F","aD"],hh:["1F","bC"],hm:["1F","2g"],hs:["1F","2g"],ht:["1F","8o"],hA:["1F","2w"],64:["1a","64"]},3T:{$4W:!1,1L:-1,1a:{1P:-1,bb:0,cm:0},1F:{},2z:{2V:1.2},1u:{}},pY:19(e,t,i){o.1p.1S.3T.2M||(o.1p.1S.3T.2M={}),o.1p.1S.3T.2M[e]=t}},2X:{8J:{i0:["is"],24:["is"],6A:["3b"],3F:["3b"],pT:["3b"],8d:["4n"],89:["4n"],9t:["4n"],4X:["2R"],58:["2R"],69:["2R"],bm:["2R"],2D:["2R"],4C:["2R"],aH:["2R"],pO:["31","4G"],pN:["31","4G"],pL:["2g","4G"],pK:["3B","4G"],pI:["3C","4G"],pG:["2g","4G"],pE:["3B","4G"],pD:["3C","4G"],pC:["2V","4G"],pB:["4y","4G"],pA:["4S","4G"],pz:["5P","4G"],py:["5L","4G"],pw:["3e","8K"],pq:["47","8K"],po:["3Q","5Y"],pn:["1f","5Y"],pl:["1g","5Y"],pk:["1u","5Y"],43:["2g","56"],pj:["3B","56"],pi:["3C","56"],2g:["2g","56"],ph:["3B","56"],pg:["3C","56"],2V:["2V","56"],pe:["4y","56"],pd:["4S","56"],pc:["5P","56"],pb:["5L","56"],pa:["3k","b5"],p9:["x","b5"],p7:["y","b5"],p6:["2f","aV"],p5:["2W","in"],p4:["2W","in"],p3:["2W","in"],p2:["1P","in"],fx:["2t","in"],p1:["2t","in"],p0:["1U","in"],oZ:["31","3M"],oY:["31","3M"],oX:["2g","3M"],oV:["3B","3M"],oU:["3C","3M"],oR:["2g","3M"],oQ:["3B","3M"],oP:["3C","3M"],oO:["2V","3M"],oN:["4y","3M"],oM:["4S","3M"],oJ:["5P","3M"],oH:["5L","3M"],k5:["2t","9c"],oF:["2t","9c"],oE:["3k","8r"],oD:["x","8r"],oB:["y","8r"],oy:["22","28"],ox:["7x","28"],ow:["2W","28"],ov:["2W","28"],ou:["2W","28"],os:["1P","28"],oq:["1U","28"],op:["31","4i"],oo:["31","4i"],om:["2g","4i"],oj:["3B","4i"],oi:["3C","4i"],oh:["2g","4i"],og:["3B","4i"],od:["3C","4i"],oc:["2V","4i"],ob:["4y","4i"],oa:["4S","4i"],o9:["5P","4i"],o8:["5L","4i"],o7:["3e","92"],o6:["47","92"],o5:["3Q","6c"],o4:["1f","6c"],o3:["1g","6c"],o2:["1u","6c"],o1:["3k","am"],nY:["x","am"],nX:["y","am"],nW:["2f","7U"],nV:["br","1N"],nT:["2W","1N"],nS:["2W","1N"],nR:["1P","1N"],fg:["2t","1N"],nP:["2t","1N"],nO:["1U","1N"],nN:["31","3v"],nM:["31","3v"],nL:["2g","3v"],nK:["3B","3v"],nJ:["3C","3v"],nI:["2g","3v"],nH:["3B","3v"],nG:["3C","3v"],nF:["2V","3v"],nE:["4y","3v"],nD:["4S","3v"],nC:["5P","3v"],nB:["5L","3v"],nA:["2t","3v"],nz:["2t","3v"],ny:["3k","8t"],nx:["x","8t"],nw:["y","8t"],nv:["22","2A"],nu:["7x","2A"],nt:["2W","2A"],nq:["2W","2A"],np:["2W","2A"],nn:["1P","2A"],nm:["1U","2A"],nl:["31","4j"],nk:["2g","4j"],nj:["3B","4j"],ni:["3C","4j"],nh:["2g","4j"],ng:["3B","4j"],nf:["3C","4j"],ne:["2V","4j"],nc:["4y","4j"],na:["4S","4j"],n7:["5P","4j"],n6:["5L","4j"],n5:["3k","6x"],n4:["x","6x"],n3:["y","6x"],n2:["1u","6x"],n1:["2f","ah"],n0:["2W","1C"],mZ:["2W","1C"],mY:["1P","1C"],mX:["3q","1C"],mW:["9E","1C"],mV:["9q","1C"],mU:["2t","1C"],mT:["2t","1C"],1C:["1U","1C"],mS:["31","4l"],mQ:["2g","4l"],mP:["3B","4l"],mO:["3C","4l"],mN:["2g","4l"],mM:["3B","4l"],mL:["3C","4l"],mK:["2V","4l"],mI:["4y","4l"],mH:["4S","4l"],mG:["5P","4l"],mE:["5L","4l"],mD:["3e","4l"],mC:["47","4l"],mz:["5T","1r"],my:["5T","1r"],mx:["5T","1r"],mw:["5T","1r"],mv:["6E","1r"],mu:["6E","1r"],mt:["6R","1r"],mr:["6R","1r"],mq:["9S","1r"],mp:["eT","1r"],mo:["x","4E"],mn:["y","4E"],mm:["1u","4E"],mk:["3Q","4E"],mj:["3Q","4E"],mi:["3k","4E"],1r:["1U","1r"],gr:["gv","2z"],gA:["6n","2z"],gD:["2g","2z"],gG:["2g","2z"],gH:["2V","2z"],mh:["6B","1F"],gV:["22","1F"],h0:["7b","1F"],h6:["eN","1F"],h9:["3k","1F"],hc:["aD","1F"],hh:["bC","1F"],hm:["2g","1F"],hs:["2g","1F"],ht:["8o","1F"],1F:["1U","1F"],mg:["2X","2w"],mf:["2X","2w"],md:["2X","2w"],mc:["53","2w"],mb:["53","2w"],ma:["53","2w"],m9:["1C","2w"],m8:["1r","2w"],hA:["1F","2w"]},eQ:["m6","m5","m4","m3","m2","m1","m0","lZ","lY","lX","lW","lU","lT","lS","lR"],h5:{7u:[1],6Z:[2],7w:[3,[1,2,6,7,8]],97:[4],7H:[5],6s:[6,[1,2,3,4,5]],73:[7],hj:[8],hl:[9],9Y:[10],8q:[11,[2,3,4,5,6,7,8,9,10]],94:[12],eP:[13],5H:[14,[2,3,4,5,6,7,8,9,10,11,12,13]],93:[15],hz:[16],eO:[17]},5l:{1u:19(){1Q{bN:0,hJ:1q,hK:1q,hM:0,"bO-43":0,hQ:0,hT:1q,hU:0}}},3T:19(e,t){1d i={is:{5N:!!e.is("3K.ls-bg"),2y:!!e.is(".ls-bg-4z"),i2:!!e.is("3K.ls-2X"),9Q:!1,8V:!1,24:!0,cc:t},5b:{},26:{},3b:{6A:"eJ",lQ:t,8R:t},4n:{8d:0,89:0},2R:{58:2v,4X:2v,69:2v,bm:"ai",2D:2v,4C:2v,2y:!1},1s:{7u:0,6Z:0,7w:0,97:0,7H:19(e){1Q 1A.3Y(18.6Z,18.97)},6s:0,73:0,hj:19(e){1Q 0===18.73&&e.1C.1U&&("4w"==2u e.1C.2W||-1!==e.1C.2W.1i("7w")&&-1!==e.1C.2W.1i("97")&&-1!==e.1C.2W.1i("7H"))?(18.6s=o.1b.1k.1s.8v(e,e.1C.2W,"6s"),18.73=-1!==e.1C.3q&&e.1s.6s+(e.1C.6a+1)*e.1C.1P+e.1C.6a*e.1C.9E):o.2b&&o.1I.1z("2K","8M.lJ",e.52[0].eD+"."+e.52.1J("2s")+" [ "+e.52.5i().gf(0,30)+"... ]"),1A.3Y(18.6Z,18.73)},hl:19(e){1Q 1A.3Y(18.97,18.73)},9Y:19(e){1Q 1A.3Y(18.7H(),18.73)},8q:0,94:0,eP:19(e){1Q 1A.3Y(18.94,18.73)},5H:19(e){1Q 1A.3Y(18.9Y(),18.94)},93:0,hz:19(e){1Q 1A.3Y(18.93,18.94,18.7H())},eO:19(e){1Q 1A.3Y(18.93,18.eP(),18.7H())},bj:!1,bk:!1},20:{in:{1U:!0,8G:{2n:!1,4J:!1,1e:{31:0}},8E:{2n:!1,7J:19(){o.1b.1k.in.7J(e)},4q:19(){o.1b.1k.in.4q(e)},1e:{3t:"5I",31:1,2g:0,3B:0,3C:0,4y:1,4S:1,5P:0,5L:0,x:0,y:0}},8C:{2n:!1,4J:!1,1e:{}},98:{2n:!1,1e:{}},bD:{2n:!1,4J:!1,1e:{}},7l:{2n:!1,1e:{}},8L:{3k:"50% 50% 0",x:0,y:0},bG:{},bH:{},5Z:{},2W:0,1P:1,2t:"a0"},28:{1U:2v,bL:{6k:{},2J:{},31:0},a4:{2t:"a0",1e:{31:1,2g:0,3B:0,3C:0,4y:1,4S:1,5P:0,5L:0,x:0,y:0}},95:{6k:{},2J:{},3k:"50% 50% 0",x:0,y:0},1K:"",7x:.jd,2W:"6Z",1P:1},1N:{1U:!0,8G:{2n:!1,4J:!1,1e:{}},8E:{2n:!1,7J:19(){o.1b.1k.1N.7J(e)},4q:19(){o.1b.1k.1N.4q(e)},1e:{31:0,2g:0,3B:0,3C:0,4y:1,4S:1,5P:0,5L:0}},8C:{2n:!1,4J:!1,1e:{}},98:{2n:!1,1e:{}},bD:{2n:!1,4J:!1,1e:{}},7l:{2n:!1,1e:{}},8L:{x:0,y:0},bG:{},bH:{},5Z:{},2W:"a7",1P:1,2t:"a0"},2A:{1U:2v,bL:{4J:!1,6k:{},31:1},a4:{2t:"a0",4J:!1,6k:{},2J:{},31:0},95:{6k:{},2J:{},x:0,y:0},1K:"",2W:"9Y",7x:.jd,1P:1},1C:{1U:2v,3A:{2n:!1,4J:!1,1e:{}},2o:{2n:!1,1e:{}},7l:{2n:!1,4J:!1,1e:{}},8L:{3k:"50% 50% 0",x:0,y:0},5Z:{},2t:"jf",2W:"7H",9E:0,1P:1,3q:0,9q:!1},1r:{1U:2v,3A:{2n:!1,4J:!1,1e:{}},2o:{2n:!1,1e:{}},95:{3k:"50% 50% 0"},eT:!0,5T:"a0",6R:.5},1F:{1U:2v},2z:{2V:1.2},2f:{1U:!1,aj:"0 0 0 0",3Y:"-ac ac ac -ac"},1u:{3o:{1X:{},in:{},1N:{},1C:{},1r:{},8z:{},c2:{},c3:{},c4:{}},1b:{bg:2v,in:2v,1N:2v,1C:2v,1r:2v}},1m:{1R:{2n:!1,4J:!1,1e:{3t:"5I"}}},2w:{2X:6j,53:6j,1C:6j,1r:6j},3x:{jz:{2n:!1,1e:{31:1,3t:"3s"}},es:{2n:!1,1e:{x:0,y:0,2g:0,3B:0,3C:0,4y:1,4S:1,5P:0,5L:0,31:1,3t:"3s"}},er:{2n:!1,1e:{x:0,y:0,2g:0,3B:0,3C:0,4y:1,4S:1,5P:0,5L:0,31:1}}}}};1Q{is:i.is,5b:i.5b,26:i.26,3b:i.3b,4n:i.4n,2R:i.2R,2S:i.2S,1s:i.1s,in:i.20.in,jE:i.20.in.8G,4G:i.20.in.8G.1e,jH:i.20.in.8C,8K:i.20.in.8C.1e,jI:i.20.in.bD,jK:i.20.in.bD.1e,al:i.20.in.8E,56:i.20.in.8E.1e,eo:i.20.in.98,cj:i.20.in.98.1e,em:i.20.in.7l,jR:i.20.in.7l.1e,aV:i.20.in.5Z,b5:i.20.in.8L,5Y:i.20.in.bG,ar:i.20.in.bH,28:i.20.28,3M:i.20.28.bL,9c:i.20.28.a4,lI:i.20.28.a4.1e,8r:i.20.28.95,1N:i.20.1N,ej:i.20.1N.8G,ei:i.20.1N.8G.1e,eh:i.20.1N.8C,cu:i.20.1N.8C.1e,aE:i.20.1N.8E,4i:i.20.1N.8E.1e,cw:i.20.1N.98,92:i.20.1N.98.1e,cx:i.20.1N.7l,eg:i.20.1N.7l.1e,7U:i.20.1N.5Z,am:i.20.1N.8L,aI:i.20.1N.bG,6c:i.20.1N.bH,2A:i.20.2A,cA:i.20.2A.bL,3v:i.20.2A.a4,8t:i.20.2A.95,1C:i.20.1C,fU:i.20.1C.3A,ef:i.20.1C.3A.1e,cC:i.20.1C.2o,4j:i.20.1C.2o.1e,ed:i.20.1C.7l,g1:i.20.1C.7l.1e,ah:i.20.1C.5Z,6x:i.20.1C.8L,1r:i.20.1r,ec:i.20.1r.3A,ea:i.20.1r.3A.1e,e9:i.20.1r.2o,4l:i.20.1r.2o.1e,4E:i.20.1r.95,1F:i.20.1F,2z:i.20.2z,2f:i.20.2f,1u:i.20.1u,2w:i.20.2w,1m:i.20.1m,3x:i.20.3x}}}},o.1h={3q:0,3j:{},2I:{},2C:{},1O:{},1m:19(){if(!2E.3I.87(t))1Q!1;2c(1d s=i.1D("> .ls-2X, > .ls-1S"),a=0,r=o.1p.1S.8J,n=0,l=s.1t;n\'))):p.1a.$2y=!1),d.1D("> .ls-bg").1t&&(p.1a.$2h=d.1D("> .ls-bg").3j()),!p.1a.2D){1d C;d.1D("> .ls-gY").1t?C=d.1D("> .ls-gY").3j():d.1D("> .ls-bg").1t&&(C=d.1D("> .ls-bg").3j()),C?(p.1a.2D=o.1M.bQ(C),p.1a.dP=o.1M.h2(C)):p.1a.2D=o.o.9u+o.o.4p+"/lH.dN"}(p.1a.7B||p.1a.7A)&&"6K"==2u bW&&(2q p.1a.7B,2q p.1a.7A,o.2b&&o.1I.1z("2K","3z.h8",a+1)),"4L"===u.4Z&&(p.1a.4Z="4L"),p.1a.3e||(p.1a.3e=""===d[0].1X.3e?"55":d[0].1X.3e),o.1h[++a]={},o.1h[a].1a=e.4P(!0,{},o.1p.1S.3T.1a,p.1a),o.1h[a].1F=p.1F,o.1h[a].2z=p.2z,o.1h[a].1u=p.1u,o.1h[a].1L=a,o.1h[a].$1k=e(),o.1h[a].2M=p.2M,o.1c.4T.54(p.1a.2D),o.1k.1m(d,a)}o.2b&&o.1I.9e("3z.1X")},21:{hd:19(){1d e=o.1h;e.2I.1L=e.2C.1L,e.2C.1L=e.1O.1L,e.1O.1L=o.1w.2T.ak(o.1w.2F),e.21.dJ(),o.1c.21.6l()},hk:19(e){1d t=o.1h;t.1O.1L=e,t.21.dJ()},dJ:19(){1d t=o.1h;t.2I=-1!==t.2I.1L?e.4P(!0,{},t[t.2I.1L]):{},t.2C=-1!==t.2C.1L?e.4P(!0,{},t[t.2C.1L]):{},t.1O=-1!==t.1O.1L?e.4P(!0,{},t[t.1O.1L]):{}},4a:19(){1d t=o.1h;if(t.3j.1L="2J"===o.o.4a?o.o.4a:1A.3Y(o.1M.2U.5l(o.o.4a,!0),1),o.o.86&&o.1h.3q>2?o.o.9W=!1:o.o.86=!1,t.3j.1L="2J"==t.3j.1L?1A.3J(1A.2J()*o.1h.3q+1):t.3j.1L,2E.7r.99)2c(1d i=1;io.1h.3q?1:t.3j.1L,o.o.86&&"2J"!=o.o.4a&&(t.3j.1L=o.o.4a),t.3j.1a=e.4P(!0,{},t[t.3j.1L].1a),o.o.5n&&o.1w.21.hp(),o.2b&&o.1I.3T.4a&&(t.3j.1L=o.1I.3T.4a)}},2T:{4U:19(e){1Q e&&o.1h[e]&&o.1h[e].1a&&o.1h[e].1a.4U?o.1h[e].1a.4U:2v}},1S:[]},o.1k={$5B:e(),5W:19(e,t){1Q-1!=e.1i("%")?2P(e)*t:2P(e)},1m:19(i,s){if(!2E.3I.87(t))1Q!1;2c(1d a,r=i.1D(\'.ls-bg, .ls-l, .ls-2X, *[2s^="ls-s"]\'),n=0,l=r.1t;n5?a:i)/(w=a>5?S:w):r!==s&&(i=(s=r>5?r:s)*(w=r>5?r:w))),2P(e.1e("31")),n=g+d+i+p+y,l=v+u+s+c+b,t=""!==I.2f&&I.2f,I.2f="",f=I.lr||I.1u;1d F=19(e){1d t=e;1Q e&&-1!==e.1i("px ")&&(e=e.2m("px","").1K(" "),t=1A.6u(1l(e[0])/i*1q)+"%"),t};k.3a={2f:t,5Z:!1,1T:I.1T?I.1T:"0",27:I.27?I.27:"0",1f:1A.6Y(i),1g:1A.6Y(s),9i:L,9j:$,4F:n,4Q:l,lq:I.1f,lp:I.1g,1H:w,7f:d,7d:u,7e:p,7c:c,3W:h,5r:m,77:g,72:v,74:y,71:b,3Q:F(e.1e("lo"))+" "+F(e.1e("ln"))+" "+F(e.1e("lm"))+" "+F(e.1e("ll")),6h:2P(e.1e("lk-li")),cf:e.1e("jU-1g"),cg:e.1e("lf-le"),47:e.1e("47"),6O:1l(e.1e("z-1L"))||"2G",1u:f,3e:e.1e("2h-47"),ld:e.1J("1a-ls")||"",df:e.1J("1X")||""},I.6O="2G",k.24={1T:I.1T?I.1T:"0",27:I.27?I.27:"0",1f:i,1g:s}},5l:19(t,i,s){1d a=t.1a(o.1p.1m.1V);t.1a("ls");if(a.is.8V=!t.is("3K")&&!a.is.9Q,a.52=t,t.1a("ls"))2c(1d n=o.1p.2X.8J,l=t.1a("ls").1K(";"),d=t.1a("ls").4m().1K(";"),u=0;u0||-1===a.1C.3q)&&!1!==a.1C.1U?(a.1C.1U=!0,a.cC.2t=a.ed.2t=o.1M.2U.4H(a.1C.2t),-1!==a.1C.3q?a.1C.9q?a.1C.6a=2*a.1C.3q-1:a.1C.6a=a.1C.3q-1:a.1C.6a=-1):a.1C.1U=!1,(!e.4t(a.4l)||a.4E.x||a.4E.y||a.4E.3Q||a.4E.1u)&&!1!==a.1r.1U?(a.1r.1U=!0,a.1r.6E||(a.1r.6E=a.1r.5T),a.1r.5T=o.1M.2U.4H(a.1r.5T),a.1r.6E=o.1M.2U.4H(a.1r.6E,!0),a.1r.9S||(a.1r.9S=a.1r.6R),r.3g.21(t[0],{2n:!1,1e:{2w:a.4E.2w}})):a.1r.1U=!1,a.1F.6B&&e.7z(a.1F.6B)&&0!==a.1F.6B&&!1!==a.1F.1U?a.1F.1U=!0:a.1F.1U=!1,a.is.5N){1d y={2V:1,2g:0};if(o.1h[i].2z.6n&&(a.2z=o.1h[i].2z),a.2z.6n){2O(a.2z.3A={},a.2z.2o={},a.2z.6n){1j"1N":a.2z.3A.2V=a.2z.2V||1,a.2z.3A.2g=a.2z.2g||0,a.2z.2o=y;1x;1j"in":a.2z.3A=y,a.2z.2o.2V=a.2z.2V||1,a.2z.2o.2g=a.2z.2g||0}2q a.2z.2V,2q a.2z.2g}2L a.2z.3A=y,a.2z.2o=y;e.4t(o.1h[i].1u)||(o.1h[i].1u.3A&&(a.1u.3o.c3=o.1b.1k.4N.2U(o.1h[i].1u.3A)),o.1h[i].1u.2o&&(a.1u.3o.c4=o.1b.1k.4N.2U(o.1h[i].1u.2o)))}if(a.28.22&&-1===o.1p.2X.eQ.1i(a.28.22)&&(o.2b&&o.1I.1z("2K","8a.l8",[t[0].eD,a.28.22]),2q a.28.22,2q a.28.ns,a.28.1U=!1),a.2A.22&&-1===o.1p.2X.eQ.1i(a.2A.22)&&(o.2b&&o.1I.1z("2K","8a.l7",[t[0].eD,a.2A.22]),2q a.2A.22,2q a.2A.ns,a.2A.1U=!1),a.28.22||a.2A.22){1d b=0;if(a.is.8V?(a.28.22&&(a.28.1U=!0,a.9c.2t=o.1M.2U.4H(a.9c.2t),a.28.1K=a.28.22.1K("2p")[0],t.3O().1t&&o.2b&&(b=1)),a.2A.22&&(a.2A.1U=!0,a.3v.2t=o.1M.2U.4H(a.3v.2t)),a.2A.1U&&a.2A.22.1K("2p")[0]!==a.28.1K&&(a.28.1K+=", "+a.2A.22.1K("2p")[0],t.3O().1t&&o.2b&&(b=1)),-1!==a.28.1K.1i("l6")&&-1===a.28.1K.1i("db")&&(a.28.1K+=", db"),-1!==a.28.1K.1i("db")&&-1===a.28.1K.1i("g0")&&(a.28.1K+=", g0")):(2q a.28.22,2q a.2A.22,2q a.28.ns,2q a.2A.ns,o.2b&&(b=2)),o.2b&&0!==b&&i&&!s)2O(b){1j 1:o.1I.1z("2K","8a.l5",[t.9x("g3"),i]);1x;1j 2:o.1I.1z("2K","8a.l4",[i,t.9x("g3")])}}if((a.3a.2f||a.aV.2f||a.7U.2f||a.ah.2f)&&(a.2f.1U=!0),a.in.1U&&a.56.2V&&(2q a.56.4y,2q a.56.4S),a.1N.1U&&a.4i.2V&&(2q a.4i.4y,2q a.4i.4S),a.5Y.1u&&(a.1u.3o.in=o.1b.1k.4N.2U(a.5Y.1u)),a.1u.3o.1X=o.1b.1k.4N.2U(a.3a.1u),a.6c.1u&&(a.1u.3o.1N=o.1b.1k.4N.2U(a.6c.1u)),a.6x.1u&&(a.1u.3o.1C=o.1b.1k.4N.2U(a.6x.1u)),a.4E.1u&&(a.1u.3o.1r=o.1b.1k.4N.2U(a.4E.1u)),a.in.1U||(a.in.1P=0),a.28.1U||(a.28.1P=0),a.1C.1U||(a.1C.1P=0),a.2A.1U||(a.2A.1P=0),a.1N.1U||(a.1N.1P=0),t.1J("1a-ls-kZ",i),2r 0!==a.3b.3F&&"3s"!==a.3b.3F){1d S=1l(a.3b.3F);0!==S&&"kW"!==a.3b.3F?(t.1J("1a-ls-g7",S),a.3b.8R=S):a.3b.8R=0,a.is.3F=!0,t.1J("1a-ls-3F","1")}2L t.1J("1a-ls-g7",i);if(a.is.9Q){1d w=t.3O("4z, 8c").eq(0);if(2v!==a.2R.58)2O(a.2R.58){1j!0:w.9x("58",!0),w.kV("g9").7I("g9");1x;1j!1:w.9x("58",!1)}a.2R.4C&&(a.2R.4C<0?a.2R.4C=0:a.2R.4C>1q&&(a.2R.4C=1q)),a.is.2y&&(o.1W.aT(a,t),a.4n.9t&&t.1D(".ls-bg-4z-9t").1e({gc:"6p("+a.4n.9t+")"}))}a.4n.8d&&(a.4n.8d=2P(a.4n.8d)),a.4n.89&&(a.4n.89=2P(a.4n.89))}},2T:19(e){1d t=18.$5B;if(e){1d i="in",s="",a="",r=\':5g(".ls-bg")\',n=\':5g(".ls-bg-4z")\';-1==(e=e.4m()).1i("cF")&&-1==e.1i("aH")||(n="",e=e.2m("cF","").2m("aH","")),-1!=e.1i("4z")&&(a+=", > 4z",e=e.2m("4z","")),-1!=e.1i("8c")&&(a+=", > 8c",e=e.2m("8c","")),-1!=e.1i("5G")&&(a+=", > 4z, > 8c",e=e.2m("5G","")),-1!=e.1i("3H")&&(a+=\', > 4d[23*="3H-cI.5m"], > 4d[23*="3H.5m"], > 4d[23*="cJ.be"], > 4d[1a-23*="3H-cI.5m"], > 4d[1a-23*="3H.5m"], > 4d[1a-23*="cJ.be"]\',e=e.2m("3H","")),-1!=e.1i("42")&&(a+=\', > 4d[23*="3E.42"], > 4d[1a-23*="3E.42"]\',e=e.2m("42","")),","==a.gn(0)&&(a=a.9o(2,a.1t)),-1!=e.1i("1N")&&(i="1N"),-1==e.1i("3K")&&-1==e.1i("5d")||(s="3K"),-1==e.1i("bg")&&-1==e.1i("2h")&&-1==e.1i("cN")||(r=""),t=-1!=e.1i("2C")?t.1u(s+"[1a-ls-1S"+i+\'="\'+o.1h.2C.1L+\'"]\'+r+n):-1!=e.1i("1O")?t.1u(s+"[1a-ls-1S"+i+\'="\'+o.1h.1O.1L+\'"]\'+r+n):t.1u(s+r+n),-1!=e.1i("aZ")&&(t=t.1u(".ls-bg, .ls-bg-4z, :4K"),e=e.2m("aZ","")),-1!=e.1i("3n")&&(t=t.1u(":4L:5g(.ls-bg, .ls-bg-4z)"),e=e.2m("3n","")),-1!=e.1i("cR")&&(t=t.1u(\':5g([1a-ls-3F="1"])\'),e=e.2m("cR","")),-1!=e.1i("3F")&&(t=t.1u(\'[1a-ls-3F="1"]\'),e=e.2m("3F","")),-1!=e.1i("cN")&&(t=t.1u(".ls-bg"),e=e.2m("cN","")),""!==a&&(t=t.1D(a))}1Q t},8h:{1a:19(t,i,s){1d a,r,n;2O(t gu 5o||(t=e(t)),s&&t.1J("1a-ls",s).1a("ls",s),r=t.1a(o.1p.1m.1V),a=r.is.cc,n=r.3a,i){5y:1j"1b":r.3b.7M=!1,o.1k.21.5l(t,a,!0);1x;1j"5B":t.1a(o.1p.1m.1V,4e o.1p.2X.3T(t,a)),(r=t.1a(o.1p.1m.1V)).3a=n,o.1k.21.5l(t,a,!0),o.1k.21.3h(t,r,a)}}},5w:19(t,s){if(!o.1h[t].9F&&"gx"!==o.1h[t].9F){o.1h[t].9F="gx";1d a=s?25:0,r=o.1h[t].$1k,n=r.1t;r.3f(19(s,r){o.2Q["1S-"+t+"-2X-"+s]=5F(19(){2q o.2Q["1S-"+t+"-2X-"+s];1d a,l=e(r),d=l,u="",p=!1,c="";l.4u("ls-3X-6M")&&(c+=" ls-3X-on-6M"),l.4u("ls-3X-6I")&&(c+=" ls-3X-on-6I"),l.4u("ls-3X-cZ")&&(c+=" ls-3X-on-cZ"),l.3V("ls-3X-6M ls-3X-6I ls-3X-cZ"),d.is("a")&&1===d.3O().1t&&(p=!0,l=d.1D(".ls-2X"));1d h=l.1a(o.1p.1m.1V);if(!h)1Q!0;if(a=o.1c.$66,h.is.2y?a=o.1c.$gF:h.is.5N&&(a=o.1c.$d0),o.1k.21.1X(l),o.1k.21.5l(l,t),h.28.1K){1d m=4e kU(l[0],{1K:h.28.1K});h.28.22&&(h.28.ns=m[h.28.22.1K("2p")[0]]),h.2A.22&&(h.2A.ns=m[h.2A.22.1K("2p")[0]])}h.is.5N||h.is.2y?u=\'<1B 2s="ls-1R ls-bg-du"><1B 2s="ls-1R ls-bg-5w">\':(h.2f.1U&&(u=\'<1B 2s="ls-1R ls-2f">\'),h.1C.1U&&(u=\'<1B 2s="ls-1R ls-1C">\'+u+""),u=\'<1B 2s="ls-1R ls-in-1N">\'+u+""),h.1F.1U&&(u=\'<1B 2s="ls-1R ls-1F">\'+u+""),o.7h.9V&&(u=\'<1B 2s="ls-1R ls-z">\'+u+""),""!==u?l.2j(a).5w(u):l.2j(a),!0===p&&d.2a("ls-2X-4W").2j(l.4b());1d f={},g=l.1e("d5-d4-ep");g&&"51"!==g&&(f["d5-d4-ep"]=g,l.1e("d5-d4-ep","51")),h.3a.d2=1;1d v=1l(h.3a.6O);h.is.2y?f={6O:h.3a.d2}:h.is.5N?f={6O:h.3a.d2}:(v||(v=s+kT),f.6O=v,h.3a.d2=v),o.7h.9V&&(f.3D="gO("+kS*v+"px )"),o.1k.21.3h(l,h,t),h.26.$7C.1e(f).2a(c),h.is.5N&&h.26.$8F.1e({3e:o.1h[t].1a.3e}),o.1k.$5B=o.1k.$5B.1z(l),o.1h[t].$1k=o.1h[t].$1k.5g(d),s===n-1&&(i.3O(".ls-1S").eq(t-1).cM(),o.1h[t].9F=!0)},a*(s+1))})}}},o.1w={2F:"1O",kR:0,9w:!0,3R:{51:[],cn:[]},2x:{6X:!0,4k:!1,9m:!1,az:!1,av:!1},5b:{6y:!1,3i:!1,1Y:!1},5k:19(){1Q 18.2x.4k||18.2x.9m||18.2x.az},1m:19(){1==o.1h.3q&&(o.o.9h=!1,o.o.dY=!1,o.o.9L=!1,o.o.bo=!1,o.o.5O=-1,o.o.h1=!1,o.o.aO=!0,o.o.4a=1,o.o.6C="bU"),o.o.9h&&1!=o.1h.3q||o.1M.2Z(18,{6X:!1,4k:!0}),18.21.5V(),18.21.h4()},21:{5V:19(){o.o.5V=!0===o.o.5V?o.1p.1m.3T.5V:o.o.5V,!1!==o.o.5V&&i.on("5X."+a,19(){o.1c.2x.7a||(o.1M.2Z(o.1w,{az:!0}),"dR"!==o.o.5V&&o.1b.1k.1s.5s())}).on("5t."+a,19(){1d t=1;o.1b.1G&&o.1b.1G.1P()>o.1b.1k.1s.4r&&(t=o.1b.1k.1s.4r/o.1b.1G.1P()),o.1M.2Z(o.1w,{az:!1}),e("3I").4u("ls-9Z")||"dR"===o.o.5V||o.o.a8&&o.1w.5k()||o.1b.1k.1s.8y(),o.1b.1G&&o.1b.1k.1s.2x.7G&&o.1b.1G.3y()0&&(o.1w.cG=1,o.1w.dB=o.1w.2T.dz(o.1h.3j.1L))},7n:19(e){if(o.1w.2T.dz(e)===o.1w.dB)1Q++o.1w.cG===o.o.5O+1}},3i:19(e){!18.5k()&&o.1b.1G&&o.1b.1k.1s.2x.7G&&18.7k(o.1h.1O.1L)},1Y:19(){o.1M.2Z(18,{6X:!1,4k:!0})},7k:19(s,a,r){if(!2E.3I.87(t))1Q!1;if(o.1h.2C.1L===s)1Q!1;if(!18.9w&&o.2B.4c("ho")){1d n=i.4o("ho",o.2B.4I());if(!1===n)1Q;e.7z(n)&&(s=1l(n))}s>o.1h.3q||s<1?o.2b&&(o.1I.1z("8k","1w"),o.1I.1z("2K","1w.kP",[s,o.1h.3q]),o.1I.9e()):o.1c.8p()||o.1w.2x.9m&&!a?!o.1c.2x.aG&&o.1c.2x.8n&&o.1b.3G&&(o.1w.5b.6y=!0,o.1b.3G.3y(1),o.1b.5c&&o.1b.5c.3y(1)):(o.1M.2Z(o.1b.1k.1s,{7G:!1}),o.1w.5b.6y=!1,o.2b&&o.1I.1z("8k","1w"),a?("2I"===o.2k.2F&&o.o.9W&&(o.1w.2F="2I"),o.2b&&(o.1I.1z("5D","1w.kO",!1),o.o.9W&&o.1I.1z("5D","1w.kN",o.1w.2F))):o.2k.2F=o.1w.2F,o.1b.2l.3l(),o.1W.1Y(!0),o.1h.21.hk(s),o.2b&&(o.1I.1z("5D","1w.6y",[o.1h.2C.1L,o.1h.1O.1L,o.1w.2F,o.2k.2F]),o.1I.9e()),o.1M.2Z(18,{9m:!1}),o.1M.2Z(o.1c,{8B:!0}),o.6g.dQ(o.1h.1O.1L,19(){o.1b.3i()}))},kM:19(){o.2k.1Y(),e.3f(o.2Q,19(e,t){8b(o.2Q[e])}),o.1b.2l.1Y(),o.1b.1G.1Y(),o.1M.2Z(o.1b.1k.1s,{a2:!0,6X:!1}),i.1D("*").1Y(!0,!1).kL()},hE:19(){i.1D("*").1Y(),o.2k.6y(o.1h.2C.1L,o.1w.2F)}},o.1W={kK:{},$7t:e(),7W:"9T:",9R:0,bp:0,1m:19(){-1!=2E.7r.4V.1i("8i:")&&(18.7W="8i:"),o.1M.2Z(o.1c,{dZ:!1,e0:!1}),o.1W.3H.1m(),o.1W.42.1m(),o.1W.5G.1m()},3H:{1m:19(){1d t=0;18.$80=o.1c.$7Y.1D(\'4d[23*="3H-cI.5m"], 4d[23*="3H.5m"], 4d[23*="cJ.be"], 4d[1a-23*="3H-cI.5m"], 4d[1a-23*="3H.5m"], 4d[1a-23*="cJ.be"]\').3f(19(){1d i=e(18),s=i.4b(),a=s.1a(o.1p.1m.1V),r=(i.1J("23")||i.1J("1a-23")).2m(/&hN;/g,"&").2m("4X=1","4X=0").2m("?","?hO=b6&"),n={$b1:i,aX:(-1===r.1i("9T")?o.1W.7W:"")+r+(-1===r.1i("?")?"?":"&")+"hR=hS&5G=1&kJ=1&6q=3&e5=0",hV:o.1W.7W+"//3K.3H.5m/kI/"+r.1K("kH/")[1].1K("?")[0]+"/"+o.o.iu};i.1J("id","ls-3H-"+ ++t),a.2S={22:"3H",cO:n},o.1W.cL(a),a.is.2y&&o.1W.aT(a,s),a.is.2y||o.1W.cH(s,i,n.aX,n.hV,a)}),o.1W.$7t=o.1W.$7t.1z(18.$80.4b()),18.$80.1t&&(o.2Q.eb=1A.3J(cE.cD()/3w),1o.cB||e("<8m>").1J({23:"8i://kG.3H.5m/kF",22:"53/i8"}).2j("aC"),1o.kE=19(){1o.2H.7T.a9=!0},o.4O.el=cl(19(){1o.cB&&1===1o.cB.en||1o.2H.7T.a9||1A.3J(cE.cD()/3w)-o.2Q.eb>3?(aq(o.4O.el),2q o.4O.el,2q o.2Q.eb,o.1W.3H.$80.4b().3f(19(){1d t=e(18),i=t.1a(o.1p.1m.1V),s=i.2S.cO;t.on("cd."+a+" 5j."+a,".ls-6i",19(){o.1W.cb(e(18)),o.1W.ca(t,i),o.1W.c5(t),o.1W.3H.2Y(t,s.$b1,s.aX,i)}).on("bY."+a,19(){o.1W.3H.2Y(t,s.$b1,s.aX,i)}).on("9O."+a,19(){o.1W.3H.1Y(t,s.$b1,i,!0)}).on("ey."+a,19(){o.1W.3H.8D(t,s.$b1,s.aX,i,!0)})}),o.1M.2Z(o.1c,{dZ:!1})):o.1M.2Z(o.1c,{dZ:!0})},25))},8D:19(e,t,i,s,a){if(2v!==s.2R.69)2O(i=i.2m("&69=0","").2m("&69=1",""),s.2R.69){1j!0:i+="&69=1";1x;1j!1:i+="&69=0"}if(2v!==s.2R.58)2O(i=i.2m("&58=0","").2m("&58=1",""),s.2R.58){1j!0:i+="&58=1";1x;1j!1:i+="&58=0"}t.1J("23",i),s.2S.3E=4e cB.kD(t[0],{bs:{kC:19(){2v!==s.2R.4C&&s.2S.3E.ix(s.2R.4C),a&&!s.2S.eB||(s.2S.3E.eC(),s.2S.eB=!1)},kB:19(t){0===t.1a&&(s.is.2y?s.2S.3E.bc(0):o.1W.ba(e,s))}}})},2Y:19(e,t,i,s){s.2S.3E?s.2S.3E.eC?s.2S.3E.eC():s.2S.eB=!0:18.8D(e,t,i,s)},1Y:19(e,t,i,s){i.2S.3E&&(i.2S.3E.kx(),s&&i.2S.3E.bc(0),i.is.2y||o.1W.cz(e.1D(".ls-6i")))}},42:{1m:19(){1d t=18.$80=o.1c.$7Y.1D(\'4d[23*="3E.42"], 4d[1a-23*="3E.42"]\');if(t.1t){o.2Q.eG=1A.3J(cE.cD()/3w),o.1W.$7t=o.1W.$7t.1z(t.4b());1d i=0;e("<8m>").1J({23:o.1W.7W+"//f.kw.5m/js/kt.aj.js",22:"53/i8"}).2j("aC"),o.4O.eH=cl(19(){o.1M.2Z(o.1c,{e0:!0}),(1o.ks||1A.3J(cE.cD()/3w)-o.2Q.eG>3)&&(aq(o.4O.eH),2q o.4O.eH,2q o.2Q.eG,1o.2H.7T.bt=!0,s())},25);1d s=19(){o.1W.42.$80.3f(19(){1d t=e(18).1J("id","ls-42-"+ ++i),s=t.4b(),r=s.1a(o.1p.1m.1V),n=(t.1J("23")||t.1J("1a-23")).2m(/&hN;/g,"&").2m("4X=1","4X=0").2m("?","?hO=b6&"),l=-1===n.1i("?")?"?":"&",d=-1===n.1i("9T")?o.1W.7W:"",u="hR=hS&2B=1&kr=ls-42-"+i,p=o.1W.7W+"//42.5m/2B/kp/4z/"+n.1K("4z/")[1].1K("?")[0]+".kn?kl=?",c=d+n+l+u;r.2S={22:"42",cO:{}},o.1W.cL(r),r.is.2y&&o.1W.aT(r,s),e.kk(p,19(e){r.is.2y||o.1W.cH(s,t,c,e[0].kj,r)}),s.on("cd."+a+" 5j."+a,".ls-6i",19(){o.1W.cb(e(18)),o.1W.ca(s,r),o.1W.c5(s),o.1W.42.2Y(s,t,c,r)}).on("bY."+a,19(){o.1W.42.2Y(s,t,c,r)}).on("9O."+a,19(){o.1W.42.1Y(s,t,r,!0)}).on("ey."+a,19(){o.1W.42.8D(s,t,c,r,!0)})}),o.1M.2Z(o.1c,{e0:!1})}}},8D:19(e,t,i,s,a){if(2v!==s.2R.69)2O(i=i.2m("&8U=0","").2m("&8U=1","").2m("&8Z=0","").2m("&8Z=1","").2m("&91=0","").2m("&91=1",""),s.2R.69){1j!0:i=i.2m("8U=0","8U=1","").2m("8Z=0","8Z=1","").2m("91=0","91=1","");1x;1j!1:i=i.2m("8U=1","8U=0","").2m("8Z=1","8Z=0","").2m("91=1","91=0","")}t.1J("23",i);1d r=19(){s.is.2y?s.2S.3E.2B("bc",0).2B("2Y"):o.1W.ba(e,s)};s.2S.3E=$f(t[0]),s.2S.3E.iS("bF",19(){s.2S.3E.iS("ki",r),2v!==s.2R.4C&&s.2S.3E.2B("ix",s.2R.4C/1q),a||s.2S.3E.2B("2Y")})},2Y:19(e,t,i,s){s.2S.3E?s.2S.3E.2B("2Y"):18.8D(e,t,i,s)},1Y:19(e,t,i,s){i.2S.3E&&(i.2S.3E.2B("5s"),s&&i.2S.3E.2B("bc",0),i.is.2y||o.1W.cz(e.1D(".ls-6i")))}},5G:{1m:19(){if(18.$26=o.1c.$7Y.1D("4z, 8c"),o.1W.$7t=o.1W.$7t.1z(18.$26.4b()),18.$26.1t){1d t=0;o.1W.5G.$26.3f(19(){1d i=e(18).1J("id","ls-5G-"+ ++t),s=e(18).4b(),r=s.1a(o.1p.1m.1V);if(r.2S={22:"5G",cO:{}},o.1W.cL(r),r.is.2y&&o.1W.aT(r,s),i.1J("4X")){1d n=i.7I("4X").bw(!0,!0);i.6b(),i=n.2j(s),s.1a("ls",s.1a("ls")+" 4X: b6;")}r.is.2y||o.1W.cH(s,i,!1,!1,r),i.on("kh."+a,19(){r.is.2y?(i[0].iX=0,i[0].2Y()):o.1W.ba(s,r)}),s.on("cd."+a+" 5j."+a,".ls-6i",19(t){o.1W.cb(e(18)),o.1W.ca(s,r),o.1W.c5(s),o.1W.5G.2Y(s,i,r)}).on("bY."+a,19(){o.1W.5G.2Y(s,i,r)}).on("9O."+a,19(){o.1W.5G.1Y(s,i,r,!0)})})}},2Y:19(e,t,i){2v===i.2R.4C||i.2S.iY||(t[0].4C=i.2R.4C/1q,i.2S.iY=!0),t[0].2Y()},1Y:19(e,t,i,s){t[0].5s(),s&&(t[0].iX=0),i.is.2y||o.1W.cz(e.1D(".ls-6i"))}},aT:19(t,i){if(t.2R={58:!1,4X:!1,69:!1,bm:"ai",2D:!1,4C:t.2R.4C?t.2R.4C:0},i.1a("ls")&&-1!==i.1a("ls").1i("8e:")&&0==i.3O(".ls-6i").1t){1d s=e("<1B>").2a("ls-6i").2j(i),a=i.1a("ls").1K("8e:")[1].1K(";")[0].3N();e("<1B>").2j(s).2a("ls-eR").1J({1X:"2h-5d: 6p("+a+")"})}},cL:19(e){e.is.9Q=!0},cH:19(t,i,s,a,r){1d n=e("<1B>").2a("ls-6i").2j(t);2v===r.2R.4X&&o.o.e6||r.2R.4X?t.2a("ls-4X"):e("<1B>").2j(n).2a("ls-kg"),t.1a("ls")&&-1!==t.1a("ls").1i("8e:")&&(a=t.1a("ls").1K("8e:")[1].1K(";")[0].3N()),i.is("4d")?e("<1B>").2j(n).2a("ls-eR").1J({1X:"2h-5d: 6p("+a+")"}):(a||2r 0===i.1J("8e")||(a=i.1J("8e"),i.7I("8e")),a&&e("<1B>").2j(n).2a("ls-eR").1J({1X:"2h-5d: 6p("+a+")"}))},ca:19(e,t){!t.is.3F&&o.o.aO&&(o.1M.2Z(o.1w,{9m:!0}),"2G"==o.o.aO&&18.9R++)},cb:19(e){e.48(o.1b.1W.1p.48).5S(o.1b.1W.1p.5S)},cz:19(e){e.5v(o.1b.1W.1p.5v)},ba:19(e,t){"2G"!=o.o.aO||t.is.2y||(t.is.3F||18.bp++,18.bp==18.9R&&0!==18.9R&&(o.1M.2Z(o.1w,{9m:!1}),o.1w.kf=1,o.1w.3i()))},eW:19(e){1d t=e.1a(o.1p.1m.1V);t.is.9Q&&(o.1n.6J&&(i.4u("ls-1n-is-6M")&&t.26.$7C.4u("ls-3X-on-6M")||i.4u("ls-1n-is-6I")&&t.26.$7C.4u("ls-3X-on-6I"))||(2v===t.2R.4X&&o.o.e6||t.2R.4X)&&e.1D(".ls-6i").5p("cd"))},1Y:19(t){1d i=18;t=2r 0===t||t,o.1k.2T("2C,1N,3H").3f(19(){1d s=e(18),a=s.3S(".ls-2X"),r=a.1a(o.1p.1m.1V);i.3H.1Y(a,s,r,t)}),o.1k.2T("2C,1N,42").3f(19(){1d s=e(18),a=s.3S(".ls-2X"),r=a.1a(o.1p.1m.1V);i.42.1Y(a,s,r,t)}),o.1k.2T("2C,1N,5G").3f(19(){1d s=e(18),a=s.3S(".ls-2X"),r=a.1a(o.1p.1m.1V);i.5G.1Y(a,s,r,t)}),18.9R=0,18.bp=0},c5:19(e){o.1b.1G.6f(2v,e.3S(".ls-in-1N")[0])}},o.3m={1m:19(){o.o.3m&&(18.$1v=e("<3K>").2a("ls-ke").2j(i).1J("1X",o.o.iR).1e({6H:"4K",3t:"kd"}).on("4g."+a,19(){1d t=o.3m.$1v?6j:0;o.2Q.3m=5F(19(){2q o.2Q.3m,o.3m.$1v.1a("9H",o.3m.$1v.1f()),o.3m.$1v.1a("bh",o.3m.$1v.1g()),"2G"!=o.3m.$1v.1e("1T")&&o.3m.$1v.1a("af",o.3m.$1v[0].1X.1T),"2G"!=o.3m.$1v.1e("3U")&&o.3m.$1v.1a("b0",o.3m.$1v[0].1X.3U),"2G"!=o.3m.$1v.1e("27")&&o.3m.$1v.1a("9U",o.3m.$1v[0].1X.27),"2G"!=o.3m.$1v.1e("1Z")&&o.3m.$1v.1a("aM",o.3m.$1v[0].1X.1Z),!1!==o.o.eu&&e("").2j(i).1J("4V",o.o.eu).1J("5z",o.o.j2).1e({kc:"3s",kb:"3s"}).9G(o.3m.$1v),o.3m.$1v.1e({3t:"3s",6H:"4L"}),o.3m.1E()},t)}).1J("23",o.o.3m))},1E:19(){18.$1v.1e({1f:18.$1v.1a("9H")*o.1E.1H,1g:18.$1v.1a("bh")*o.1E.1H}),18.$1v.5v(5h);1d e="2G",t="2G",s="2G",a="2G";e=18.$1v.1a("af")&&-1!=18.$1v.1a("af").1i("%")?i.1f()/1q*2P(18.$1v.1a("af"))-18.$1v.1f()/2+1l(i.1e("4x-1T")):1l(18.$1v.1a("af"))*o.1E.1H,t=18.$1v.1a("b0")&&-1!=18.$1v.1a("b0").1i("%")?i.1f()/1q*2P(18.$1v.1a("b0"))-18.$1v.1f()/2+1l(i.1e("4x-3U")):1l(18.$1v.1a("b0"))*o.1E.1H,s=18.$1v.1a("9U")&&-1!=18.$1v.1a("9U").1i("%")?i.1g()/1q*2P(18.$1v.1a("9U"))-18.$1v.1g()/2+1l(i.1e("4x-27")):1l(18.$1v.1a("9U"))*o.1E.1H,a=18.$1v.1a("aM")&&-1!=18.$1v.1a("aM").1i("%")?i.1g()/1q*2P(18.$1v.1a("aM"))-18.$1v.1g()/2+1l(i.1e("4x-1Z")):1l(18.$1v.1a("aM"))*o.1E.1H,18.$1v.1e({1T:e,3U:t,27:s,1Z:a})}},o.1y={2k:{1m:19(){o.o.dY&&18.aW.1m(),(o.o.9L||o.o.bo)&&18.1Z.1m()},aW:{1m:19(){e(\'\').on("5j."+a,19(e){e.41(),i.5a("2I")}).2j(i),e(\'\').on("5j."+a,19(e){e.41(),i.5a("1O")}).2j(i),o.o.hW&&18.8P()},8P:19(){i.1D(".ls-3p-2I, .ls-3p-1O").1e({3t:"3s"}),i.on("5X."+a,19(){o.1y.2k.fb||i.1D(".ls-3p-2I, .ls-3p-1O").1Y(!0,!0).5v(5h)}).on("5t."+a,19(){i.1D(".ls-3p-2I, .ls-3p-1O").1Y(!0,!0).5S(5h)})}},1Z:{1m:19(){18.1R=e(\'<1B 2s="ls-1y-1v ls-1Z-3p-1R" />\').2j(i),o.o.bo&&"9s"!=o.o.6C&&18.bR.1m(),o.o.9L?18.jq():"9s"!=o.o.6C&&18.jr(),o.o.bn&&"9s"!=o.o.6C&&18.8P(),"9s"==o.o.6C&&(18.1R.2a("ls-jt-4T"),18.4T.1m())},bR:{1m:19(){1d t=18;e(\'<8s 2s="ls-1Z-9B" />\').2j(i.1D(".ls-1Z-3p-1R"));2c(1d s=0;s\').2j(i.1D(".ls-1Z-9B")).1a("1L",s+1).on("5j."+a,19(t){t.41(),i.5a(e(18).1a("1L"))});"1r"==o.o.6C&&r.on("5X."+a,19(){1d s=e(18);i.1D(".ls-2D-1r-3K").1e({1T:1l(t.88.1e("4x-1T")),27:1l(t.88.1e("4x-27"))}),t.ab.on("4g."+a,19(){0===e(18).1f()?t.ab.1e({6A:"eJ",6N:"0 2G",1T:"2G"}):t.ab.1e({6A:"jx",3W:-e(18).1f()/2,1T:"50%"}),t.ab.1e("3t","3s").1Y(!0,!0).5v(9p)}).1J("23",o.1h[s.1a("1L")].1a.2D),t.88.1e({3t:"5I"}).1Y().8j({1T:e(18).6A().1T+(e(18).1f()-t.88.4F())/2},9p),t.fi.1e({3t:"3s",6H:"4L"}).1Y().5v(9p)}).on("5t."+a,19(){t.fi.1Y().5S(9p,19(){t.88.1e({6H:"4K",3t:"5I"})})})}t.21.3n(o.1h.3j.1L),"1r"==o.o.6C&&t.21.1r()},21:{3n:19(e){2r 0===e&&(e=o.1h.2C.1L),e--,i.1D(".ls-1Z-9B a").3V("ls-3p-3n"),i.1D(".ls-1Z-9B a:eq( "+e+" )").2a("ls-3p-3n")},1r:19(){1d t=o.1y.2k.1Z.bR,s=e(\'<1B 2s="ls-2D-1r"><1B 2s="ls-2D-1r-cU"><1B 2s="ls-2D-1r-bg"><1B 2s="ls-2D-1r-3K"><3K><8s>\').2j(i.1D(".ls-1Z-9B"));i.1D(".ls-2D-1r, .ls-2D-1r-3K").1e({1f:o.o.e1,1g:o.o.b2}),t.88=i.1D(".ls-2D-1r"),t.ab=t.88.1D("3K").1e({1g:o.o.b2}),t.fi=i.1D(".ls-2D-1r-cU").1e({6H:"4K",3t:"5I"}),s.2j(i.1D(".ls-1Z-9B"))}}},jq:19(){18.aL=e(\'\').on("5j."+a,19(e){e.41(),i.5a("3i")}).ap(i.1D(".ls-1Z-3p-1R")),18.aU=e(\'\').on("5j."+a,19(e){e.41(),i.5a("1Y")}).2j(i.1D(".ls-1Z-3p-1R")),o.o.9h?18.9M("3i"):18.9M("1Y")},9M:19(e){if(o.o.9L)2O(e){1j"3i":18.aL.2a("ls-3p-3i-3n"),18.aU.3V("ls-3p-1Y-3n");1x;1j"1Y":18.aL.3V("ls-3p-3i-3n"),18.aU.2a("ls-3p-1Y-3n")}},jr:19(){e(\'<8s 2s="ls-3p-jF ls-3p-ka" />\').ap(i.1D(".ls-1Z-3p-1R")),e(\'<8s 2s="ls-3p-jF ls-3p-k9" />\').2j(i.1D(".ls-1Z-3p-1R"))},8P:19(){1d e=18;e.1R.1e({3t:"3s"}),i.on("5X."+a,19(){o.1y.2k.fb||e.1R.1Y(!0,!0).5v(5h)}).on("5t."+a,19(){e.1R.1Y(!0,!0).5S(5h)})},fp:19(e){if(o.o.bn&&!i.4u("ls-1r"))2O(e){1j"on":o.1y.2k.1Z.4T.1R.1e({6H:"4K",3t:"5I"});1x;1j"70":o.1y.2k.1Z.4T.1R.1e({6H:"4L",3t:"3s"})}},4T:{1m:19(){1d t=18;18.1R=e(\'<1B 2s="ls-1y-1v ls-2D-1R">\').2j(i),e(\'<1B 2s="ls-2D"><1B 2s="ls-2D-cU"><1B 2s="ls-2D-1S-4R"><1B 2s="ls-2D-1S">\').2j(18.1R),18.$1v=i.1D(".ls-2D-1S-4R"),"c6"in 1o?18.$1v.2a("ls-k8"):18.$1v.on("5X."+a,19(){e(18).2a("ls-2D-1S-1r")}).on("5t."+a,19(){e(18).3V("ls-2D-1S-1r"),o.1y.2k.1Z.4T.2i()}).on("7R."+a,19(t){1d i=1l(t.bK-e(18).62().1T)/e(18).1f()*(e(18).1f()-e(18).1D(".ls-2D-1S").1f());e(18).1D(".ls-2D-1S").1Y().1e({3W:i})});2c(1d s=0;s<3K 23="\'+o.1h[r].1a.2D+\'">\');o.1h[r].1a.dP&&n.1D("3K").1J("fw",o.1h[r].1a.dP),n.1a("1L",r).on("5j."+a,19(t){t.41(),i.5a(e(18).1a("1L"))}).2j(i.1D(".ls-2D-1S")),"c6"in 1o||n.on("5X."+a,19(){e(18).3O().1Y().c1(5h,o.o.e2/1q)}).on("5t."+a,19(){e(18).3O().4u("ls-7E-3n")||e(18).3O().1Y().c1(5h,o.o.e3/1q)})}o.1y.2k.1Z.aL&&o.1y.2k.1Z.aU&&(o.1y.2k.1Z.1R=e(\'<1B 2s="ls-1Z-3p-1R ls-k7-4T">\').2j(i),o.1y.2k.1Z.aL.bw().on("5j."+a,19(e){e.41(),i.5a("3i")}).2j(o.1y.2k.1Z.1R),o.1y.2k.1Z.aU.bw().on("5j."+a,19(e){e.41(),i.5a("1Y")}).2j(o.1y.2k.1Z.1R)),o.o.bn&&t.8P()},8P:19(){1d e=18;e.1R.1e("3t","3s"),o.1y.2k.1Z.1R&&(o.1y.2k.1Z.1R="5I"==o.1y.2k.1Z.1R.1e("3t")?o.1y.2k.1Z.1R:i.1D(".ls-jt-4T"),o.1y.2k.1Z.1R.1e("3t","3s")),i.on("5X."+a,19(){i.2a("ls-1r"),o.1y.2k.fb||(e.1R.1Y(!0,!0).5v(5h),o.1y.2k.1Z.1R&&o.1y.2k.1Z.1R.1Y(!0,!0).5v(5h))}).on("5t."+a,19(){i.3V("ls-1r"),e.1R.1Y(!0,!0).5S(5h),o.1y.2k.1Z.1R&&o.1y.2k.1Z.1R.1Y(!0,!0).5S(5h)})},6y:19(t){1d s=t||o.1h.1O.1L;i.1D(".ls-2D-1S a:5g(.ls-7E-"+s+" )").3O().3f(19(){e(18).3V("ls-7E-3n").1Y().c1(bz,o.o.e3/1q)}),i.1D(".ls-2D-1S a.ls-7E-"+s).3O().2a("ls-7E-3n").1Y().c1(bz,o.o.e2/1q)},2i:19(){if(!i.1D(".ls-2D-1S-4R").4u("ls-2D-1S-1r")){1d e=!!i.1D(".ls-7E-3n").1t&&i.1D(".ls-7E-3n").4b();if(e){1d t=e.6A().1T+e.1f()/2,s=i.1D(".ls-2D-1S-4R").1f()/2-t;s=(s=s0?0:s,i.1D(".ls-2D-1S").8j({3W:s},k6)}}},1E:19(){o.1y.2k.1Z.fp("on");1d e=-1==o.1c.49.1f.1i("%")?1l(o.1c.49.9H):i.1f(),t=i.1D(".ls-2D"),s=-1==o.o.bl.1i("%")?1l(o.o.bl):1l(e/1q*1l(o.o.bl));i.1D(".ls-2D-1S a").1e({1f:1l(o.o.e1*o.1E.1H),1g:1l(o.o.b2*o.1E.1H)}),i.1D(".ls-2D-1S a:cK").1e({6N:0}),i.1D(".ls-2D-1S").1e({1g:1l(o.o.b2*o.1E.1H)}),t.1e({1f:s*1A.3J(1q*o.1E.1H)/1q}),t.1f()>i.1D(".ls-2D-1S").1f()&&t.1e({1f:i.1D(".ls-2D-1S").1f()}),o.1y.2k.1Z.fp("70")}}}},4p:{4g:19(){i.2a("ls-"+o.o.4p);1d t,s=o.o.9u+o.o.4p+"/4p.1e",r=e(e("aC").1t?"aC":"3I");e(\'4W[4V="\'+s+\'"]\').1t?(t=e(\'4W[4V="\'+s+\'"]\'),o.1y.4p.6G||(o.1y.4p.6G=!0,o.2Q.fB=5F(19(){2q o.2Q.fB,o.1c.1m()},bV))):2E.jV?(2E.jV(s),t=e(\'4W[4V="\'+s+\'"]\')):t=e(\'<4W e5="jW" 4V="\'+s+\'" 22="53/1e" />\').2j(r),t.on("4g."+a,19(){o.1y.4p.6G||(o.1y.4p.6G=!0,o.2Q.fC=5F(19(){2q o.2Q.fC,o.1c.1m()},bV))}),e(1o).on("4g."+a,19(){o.1y.4p.6G||(o.1y.4p.6G=!0,o.2Q.fD=5F(19(){2q o.2Q.fD,o.1c.1m()},bV))}),o.2Q.fE=5F(19(){o.1y.4p.6G||(o.1y.4p.6G=!0,2q o.2Q.fE,o.1c.1m())},3w)}},4h:{1m:19(){18.21(),18.1E()},21:19(){18.$1v=e(\'<1B 2s="ls-1y-1v ls-4h">\').2j(i),"5I"!=18.$1v.1e("3t")||18.$1v.1D("3K").1t||(18.68=19(){o.1y.4h.$1v.1e({3t:"3s",6H:"4L"}).5v(6j,19(){o.1y.4h.68=!1})},18.5d=e("<3K>").1J("23",o.o.9u+o.o.4p+"/4h.dN").2j(18.$1v),18.k1="4w"==2u 1l(i.1e("4x-1Z"))?1l(i.1e("4x-1Z")):0)},1E:19(){18.5d&&(18.5d.1g()>0?18.k1>0?18.$1v.1e({1g:18.5d.1g()/2}):18.$1v.1e({1g:18.5d.1g(),5r:-18.5d.1g()/2}):o.2Q.k2=5F(19(){2q o.2Q.k2,o.1y.4h.1E()},50))}},2l:{1m:19(){o.o.hZ&&18.4A.61(),o.o.i1&&18.46.61();1d t=!1;(t=o.o.i4?e("<1B>").oG(i):e(\'[1a-2N-2c="\'+i.1J("id")+\'"], [1a-2N-2c="\'+a+\'"]\')).1t&&(t.2a("ls-1y-1v"),18.2N.61(t))},4A:{61:19(){18.$1v=e("<1B>").2a("ls-1y-1v ls-4A-jM").2j(i)}},46:{61:19(){18.$1v=e("<1B>").2a("ls-1y-1v ls-46-jM").2j(i),18.$1v.9G(e(\'<1B 2s="ls-ct-8l"><1B 2s="ls-ct-1T"><1B 2s="ls-ct-43"><1B 2s="ls-ct-jG"><1B 2s="ls-ct-jj"><1B 2s="ls-ct-3U"><1B 2s="ls-ct-43"><1B 2s="ls-ct-jG"><1B 2s="ls-ct-jj">\')),18.$1v.1a("3a",{31:18.$1v.1e("31")})}},2N:{$5E:[],$1v:[],$f3:[],$7s:[],$c8:[],eS:[],9J:[],7O:[],61:19(t){1d s,r=e(2E),n=18,l=19(e,t){(s=(e.bK?e.bK:o.1n.iO)-n.$1v[t].62().1T-n.7O[t]/2)<0&&(s=0),s>n.9J[t]-n.7O[t]&&(s="eL( 1q% - "+o.1y.2l.2N.7O[t]+"px )"),n.$7s[t].1e({1T:s}),o.1b.1G&&o.1b.1G.3y("5f"==2u s?o.1b.1k.1s.3y:s/(n.9J[t]-n.7O[t])*o.1b.1k.1s.3y)},d=19(t,i){e(2E).70("7R."+a),e("3I").9x("9Z",!1).3V("ls-9Z"),o.o.a8&&!o.1w.2x.6X||o.1c.5k||!o.1b.1G||o.o.5n||(!0===o.1b.1k.1s.2x.eK?o.1b.1k.1s.8y():o.1b.1k.1s.2Y())};e.3f(t,19(t,i){n.$5E[t]=e(i).2a("ls-2N-4R "+a),n.$1v[t]=e("<1B>").2a("ls-2N").2j(n.$5E[t]),n.$f3[t]=e("<1B>").2a("ls-km").2j(n.$1v[t]),n.$7s[t]=e("<1B>").2a("ls-2N-1c-4R").2j(n.$5E[t]),n.$c8[t]=e("<1B>").2a("ls-2N-1c").2j(n.$7s[t]),n.7O[t]=n.$7s[t].1f(),n.$7s[t].1e({5r:-n.$c8[t].4Q()/2}),n.$5E[t].on("8T."+a,19(e){l(e,t)}),n.$5E[t].on("ko."+a+" iK."+a,19(i){o.1b.1k.1s.5s(0),e("3I").9x("9Z",!0).2a("ls-9Z"),e(2E).on("7R."+a,19(e){l(e,t)}),l(i,t)}),r=r.1z(n.$c8[t])}),r.on("kq."+a+"iJ."+a,19(t){e(t.5z).3S(i).1t||(o.1b.1G&&o.1b.1k.1s.2x.7G&&o.1b.1G.3y()!==o.1b.1k.1s.3y&&o.1M.2Z(o.1b.1k.1s,{7G:!1}),d())})}}},cp:{1m:19(){18.$1v=e("<1B>").1e({3t:"3s"}).2a("ls-1y-1v ls-iG-4R").2j(i),e("<1B>").2a("ls-iG-ku").2j(18.$1v)},68:19(){18.$1v.48(kv).5v(5h)},3X:19(){18.$1v.1Y(!0,!0).5S(5h)}}},o.2k={2F:"1O",1m:19(){o.1h.3q>1&&(18.21.iF(),18.21.iC())},21:{iF:19(){o.o.hI&&e("3I").on("ky."+a,19(e){o.1c.kz||o.1c.kA||(37==e.iw?o.2k.2I():39==e.iw&&o.2k.1O())})},iC:19(){"c6"in 1o&&o.o.hP&&(o.1c.$5M.on("iK."+a,19(e){1d t=e.6F?e.6F:e.9a.6F;1==t.1t&&(o.1n.cV=o.1n.aR=t[0].e4)}),o.1c.$5M.on("8T."+a,19(e){1d t=e.6F?e.6F:e.9a.6F;1==t.1t&&(o.1n.aR=t[0].e4),1A.3P(o.1n.cV-o.1n.aR)>45&&e.41()}),o.1c.$5M.on("iJ."+a,19(e){1A.3P(o.1n.cV-o.1n.aR)>45&&(o.1n.cV-o.1n.aR>0?i.5a("aa"):i.5a("ad"))}))}},2I:19(){(!o.1c.9l||o.1c.9l&&o.1c.2x.dF)&&(18.2F="2I",18.bf="2I",o.1w.21.aW("2I"))},1O:19(){(!o.1c.9l||o.1c.9l&&o.1c.2x.dF)&&(18.2F="1O",18.bf="1O",o.1w.21.aW("1O"))},3i:19(){o.1M.2Z(o.1w,{6X:!0,4k:!1}),!0===o.1w.2x.av&&o.1M.2Z(o.1w,{av:!1}),o.1y.2k.1Z.9M("3i"),o.1w.2x.az||1!==o.1b.1G.5q()&&o.1b.1k.1s.8y(),o.1w.3i()},1Y:19(){o.1y.2k.1Z.9M("1Y"),o.o.a8&&o.1b.1k.1s.5s(),o.1w.1Y()}},o.6g={1m:19(){o.1c.$7Y.1D(".ls-1S 3K").3f(19(){1d t=e(18),i=t[0],s={};if(t.is(".ls-2X, .ls-bg")){if(i.ax("1f")&&(s.1f=i.ax("1f")),i.ax("1g")&&(s.1g=i.ax("1g")),i.cP&&(s.cP=i.cP),i.cW&&o.o.eA){s.d1=i.cW,s.82=i.da;1d a=s.d1.1K(",").kX(19(t){1Q 1l(e.3N(t).1K(" ")[1])});s.4B=1A.3Y.kY(2v,a)}t.7I("1f").7I("1g").7I("cP").7I("cW"),e.4t(s)||(t.1a(o.1p.1m.1V).6l=s)}t.1a("g5-23")&&t.1a("23",t.1a("g5-23")),t.1a("23")?s.82&&t.1a("23",s.82):t.1a("23",s.82?s.82:i.23),t.1J("23","1a:5d/l0;l1,l2///l3")})},dQ:19(t,s){if(!0!==o.1h[t].9F){18.7N=t,s?(18.aN=s,o.1M.2Z(o.1c,{aG:!0}),o.1y.cp.68()):18.aN=!1,o.1c.fY&&i.1e({6H:"4L"}),18.6S=[];1d a,r,n=18;o.1c.$7Y.1D(".ls-1S:eq("+(n.7N-1)+") *").3f(19(){a=e(18),r=18;1d t=a.1a(o.1p.1m.1V);if(a.is("3K")){a.1a("23")&&a.1J("23",a.1a("23")),t&&t.6l&&t.6l.d1&&o.o.eA&&(r.cW=t.6l.d1);1d i=r.23,s=!!(t&&t.6l&&t.6l.82)&&t.6l.82;s&&i!==s&&a.is(".ls-bg")&&(i=s,o.1h[n.7N].1a.$2h.1J("23",i)),o.6g.6S.54([i,a])}2L"3s"!==a.1e("2h-5d")&&-1!==a.1e("2h-5d").1i("6p")&&o.6g.6S.54([a.1e("2h-5d").4f(/6p\\((.*)\\)/)[1].2m(/"/gi,""),a])}),o.1b.4a&&o.o.9y&&o.6g.6S.54([o.o.9y,e()]),18.fV||18.4T(),0===18.6S.1t?18.4q():18.3i()}2L o.1c.co&&s&&(o.1E.dd(o.1k.2T("1O, bg")),o.1E.1k(s))},4T:19(){2c(1d e=o.1c.4T.1u(19(e,t,i){1Q i.1i(e)==t}),t=e.1t,i=0;id&&d>=0&&(n=d),o.o.dH&&("6r"===l||"6w"===l&&"dx"!==o.o.8Q&&"i7"!==o.o.8Q)){i.4b();1d c=a.62().1T,h=1l(a.1e("4x-1T"))||0,m=1l(a.1e("76-1T-1f"))||0;i[0].1X.4B="3s",i[0].1X.3W=-(c+h+m)+"px",n=o.1n.7m||e(1o).1f()}2O(n-=r.aP,o.1c.2x.7a&&(n=o.1n.1f),l){1j"24":o.1c.2x.7a?(o.1n.1H>r.1H?18.1H=o.1n.1g/r.1g:18.1H=o.1n.1f/r.1f,n=1A.6u(r.1f*18.1H),s=1A.6u(r.1g*18.1H)):(18.1H=n/r.1f,s=1A.6u(r.1g*18.1H));1x;1j"6r":nr.aB/r.1g?(18.1H=o.1n.1g/r.1g,s=o.1n.1g):(18.1H=o.1n.1f/r.aB,s=r.1g*18.1H):(18.1H=1,s=r.1g);1x;1j"6w":2O(o.o.8Q.4m()){1j"51":s=o.1n.4Y-r.aw;1x;1j"hu":s=o.1n.4Y-r.aw,o.1c.2x.7a||(s-=o.1c.dO?o.1c.dO:o.1c.4D);1x;1j"dx":n=i.4b().1f()-r.aP,s=i.4b().1g()-r.aw;1x;1j"i7":n=i.4b().1f()-r.aP,s=o.1n.4Y-r.aw}n/s0&&18.1H>o.o.5Q?o.o.5Q:18.1H,t.1X.1f=n+"px",t.1X.1g=s+"px",o.1c.1f=n,o.1c.1g=s;1d f=i.62();o.1c.lK=f.1T,o.1c.lL=f.27,o.1n.6J?o.1n.7mlN?i.3V("ls-1n-is-6M").2a("ls-1n-is-6I"):o.1n.7m0&&18.1H>o.o.5Q?o.o.5Q:18.1H,r=0,n=i.1t;r0?(n-g*s)/2:0,f=v>0?(l-v*s)/2:0):(m=m<0?0:m,f=f<0?0:f);2c(1d y=0,b=a.1t;yd?($.1f=n,$.1g=$.1f/k.1H):($.1g=l,$.1f=$.1g*k.1H)}$.4F=$.1f+$.7f+$.7e+$.77+$.74,$.4Q=$.1g+$.7d+$.7c+$.72+$.71,B.1f=P.1f=$.4F,B.1g=P.1g=$.4Q,-1!=k.1T.1i("%")?"1q%"===k.1T?$.1T=0===O?o.1c.1f/1q*2P(k.1T)-$.4F:O+g*s/1q*2P(k.1T)-$.4F:"0%"===k.1T?$.1T=0===O?0:O:$.1T=0===O?o.1c.1f/1q*2P(k.1T)-$.4F/2:O+g*s/1q*2P(k.1T)-$.4F/2:$.1T=O+2P(k.1T)*s,B.1T=$.1T,-1!=k.27.1i("%")?"1q%"===k.27?$.27=0===L?o.1c.1g/1q*2P(k.27)-$.4Q:L+v*s/1q*2P(k.27)-$.4Q:"0%"===k.27?$.27=0===L?0:L+0:$.27=0===L?o.1c.1g/1q*2P(k.27)-$.4Q/2:L+v*s/1q*2P(k.27)-$.4Q/2:$.27=L+2P(k.27)*s,B.27=$.27}C.24=$,u[y]=$,C.is.5N||C.is.2y||(C.3b.dt.24=B,p[y]=B,c[y]=P,h[y]=W)}2c(1d z=0,F=u.1t;z0)2c(1d e=0,t=o.1y.2l.2N.$5E.1t;e").2a("ls-1S-29-1R").1e({1f:o.1c.1f,1g:o.1c.1g}),18.b9.go())},b9:{go:19(){o.1b.1S.51.b9.gl()}},3i:19(e){1d t,s=!(!o.1h.2C.1L||!o.1h.2C.1a.$2y.1t),a=!(!o.1h.1O.1L||!o.1h.1O.1a.$2y.1t);if(!o.1w.9w&&o.2B.4c("gk")&&i.4o("gk",o.2B.4I()),!e&&(2r 0!==o.1b.2e.1a.a5&&o.1b.3G.1P(o.1b.2e.1a.a5),o.2b&&o.1I.3T.a5&&o.1b.3G.1P(o.1I.3T.a5),o.1b.1k.1s.6Q>.25)){1d n=o.1b.3G.1P()/(.75+o.1b.1k.1s.6Q);n=n<.5?.5:n,o.1b.3G.1P(n)}1d l,d=o.1b.3G.1P()/o.1b.3G.5q(),u=d,p=o.1b.2e.1a.bb;p>0?p=0:p<0&&1A.3P(p)>d&&(p=-d),o.1b.2e.1a.cm=p,l=o.1b.4a?o.o.bI+.ge:(u+p)*o.1b.3G.5q(),(s||a)&&o.1b.1W.gd(o.1b.4a,!(!s||!a)),o.1b.3G.gb(19(){!o.1w.9w&&o.2B.4c("ga")&&i.4o("ga",o.2B.4I()),o.1w.5b.6y||o.1b.1k.1s.ji(),o.1W.1Y(!0),o.1h.21.hd(),o.o.jk&&(2E.7r.99=o.1h[o.1h.2C.1L].1a.4U||"mA-4U-mB"),o.1w.3i(),!o.1b.4a&&o.1h.2I.1L&&o.1h.2I.1a.$2y.1t&&!o.1h.2I.1a.$2y.1a(o.1p.1m.1V).2S.eU&&(o.1h.2I.1a.$2y.5p("9O"),o.1h.2I.1a.$2y.1a(o.1p.1m.1V).26.$8F.1e({3t:"3s"})),o.1w.5b.6y||o.1h.1O.1a.$2y.1t&&!o.1h.1O.1a.$2y.1a(o.1p.1m.1V).2S.eV&&(o.1h.1O.1a.$2y.5p("ey"),o.1h.1O.1a.$2y.1a(o.1p.1m.1V).2S.eV=!0),o.1b.4a=!1},[],18,l),o.1b.3G.2Y(),2r 0!==o.1b.3r.1a&&2r 0!==o.1b.3r.1a.$2h&&(t=o.1b.3r.1a.$2h.1a(o.1p.1m.1V),o.2Q.g2=5F(19(){2q o.2Q.g2,o.1b.3r.1a.$2h.3S(".ls-bg-5w").3X(),t.2z.6n&&r.3g.21(o.1b.3r.1a.$2h[0],{2n:!1,1e:t.2z.3A})},5))},4q:19(){1d e;2r 0!==o.1b.2e.1a.$2h&&o.1b.2e.1a.$2h.3S(".ls-bg-5w").68(),"55"!==o.1b.2e.1a.3e?o.1c.$5M.1e("2h-47",o.1b.2e.1a.3e):o.1c.$5M.1e("2h-47",o.o.9v),o.o.mF||o.1n.$9K.3V("ls-gB-4K ls-gz-4K ls-4Z-4K"),18.$1R&&(18.$1R.5i("").6b(),18.$1R=!1),o.1y.2k.1Z.bR.21.3n(),o.o.5O>0&&(o.1w.6d("dB")?o.1w.5O.7n(o.1b.2e.1L)&&(o.2k.1Y(),o.1M.2Z(o.1w,{av:!0}),o.o.dV&&(o.1w.cG=1)):o.1w.5O.21()),o.1M.2Z(o.1c,{8n:!1,8B:!1}),!o.1w.9w&&o.2B.4c("fX")&&i.4o("fX",o.2B.4I()),o.1w.9w=!1,!1!==o.1w.5b.6y&&o.2k.bf?(2r 0!==o.1b.3r.1a&&2r 0!==o.1b.3r.1a.$2h&&(e=o.1b.3r.1a.$2h.1a(o.1p.1m.1V),o.1b.3r.1a.$2h.3S(".ls-bg-5w").3X(),e.2z.6n&&r.3g.21(o.1b.3r.1a.$2h[0],{2n:!1,1e:e.2z.3A})),o.1w.7k(o.1w.2T.ak(o.2k.bf),!0)):o.6g.dQ(o.1h.1O.1L)},51:{b9:{gl:19(){if(o.o.6T)o.1b.1S.51.eX(o.o.6T.22,o.o.6T.mJ);2L{1d e,t,i=!!o.1b.2e.1a.7D&&o.1b.2e.1a.7D.dw().1K(",");o.1n.ad&&o.o.ex?(o.1n.ad=!1,18.29("2d","1")):o.1n.aa&&o.o.ex?(o.1n.aa=!1,18.29("2d","1")):o.1h.1O.1a.$2h||i&&(!i||-1!=i.1i("1")||-1!=i.1i("2")||-1!=i.1i("3")||-1!=i.1i("4"))?o.7h.fS()&&(o.1b.2e.1a.7Z||o.1b.2e.1a.7A)?o.1b.2e.1a.7Z&&o.1b.2e.1a.7A?(e=1A.3J(2*1A.2J()),t=[["3d",o.1b.2e.1a.7Z],["fP",o.1b.2e.1a.7A]],18.29(t[e][0],t[e][1])):o.1b.2e.1a.7Z?18.29("3d",o.1b.2e.1a.7Z):18.29("fP",o.1b.2e.1a.7A):o.1b.2e.1a.7D&&o.1b.2e.1a.7B?(e=1A.3J(2*1A.2J()),t=[["2d",o.1b.2e.1a.7D],["fN",o.1b.2e.1a.7B]],18.29(t[e][0],t[e][1])):o.1b.2e.1a.7D?18.29("2d",o.1b.2e.1a.7D):o.1b.2e.1a.7B?18.29("fN",o.1b.2e.1a.7B):18.29("2d","1"):18.29("2d","5")}},29:19(e,t){o.2b&&o.1I.1z("8k","6T.6V"),t+="";1d i,s=-1==e.1i("f0")?o.t:o.ct,a="3d";if(-1!=e.1i("2d")&&(a="2d"),-1!=t.1i("cK"))i=s["t"+a].1t-1,"cK";2L if(-1!=t.1i("5B"))i=1A.3J(1A.2J()*o.1M.fI(s["t"+a])),"2J 3A 5B";2L{1d r=t.1K(","),n=r.1t;i=1l(r[1A.3J(1A.2J()*n)])-1,"2J 3A hL"}2r 0===s["t"+a][i]&&(o.2b&&o.1I.1z("2K","6T.mR",[a.f1()+(-1===e.1i("f0")?"":" (jZ)"),i+1]),s=o.t,e=a="2d",i=0),o.2b&&o.1I.1z("5D","6T.6V",[a.f1()+(-1===e.1i("f0")?"":" (jZ)"),i+1,s["t"+a][i].aK]),o.1b.1S.51.eX(a,s["t"+a][i])}},eX:19(t,i){1d s,a,n,l,d=e.4P(!0,{78:1,6P:1},i),u=2u d.78,p=2u d.6P,c=[],h=o.2k.2F,m=0,f=0,g=!!o.1b.3r.1a.$2h&&o.1M.bQ(o.1b.3r.1a.$2h),v=!!o.1b.2e.1a.$2h&&o.1M.bQ(o.1b.2e.1a.$2h),y=o.o.5n&&"9D"===o.1n.2i.2F?"2o":"3A";2O(u){1j"4w":u=d.78;1x;1j"5f":u=1A.3J(1A.2J()*(1l(d.78.1K(",")[1])-1l(d.78.1K(",")[0])+1))+1l(d.78.1K(",")[0]);1x;5y:u=1A.3J(1A.2J()*(d.78[1]-d.78[0]+1))+d.78[0]}2O(p){1j"4w":p=d.6P;1x;1j"5f":p=1A.3J(1A.2J()*(1l(d.6P.1K(",")[1])-1l(d.6P.1K(",")[0])+1))+1l(d.6P.1K(",")[0]);1x;5y:p=1A.3J(1A.2J()*(d.6P[1]-d.6P[0]+1))+d.6P[0]}if(o.1n.6J&&o.o.j8?(u>=15?u=7:u>=5?u=4:u>=4?u=3:u>2&&(u=2),p>=15?p=7:p>=5?p=4:p>=4?p=3:p>2&&(p=2),p>2&&u>2&&(p=2,u>4&&(u=4))):(u=u>35?35:u,p=p>35?35:p),o.2b&&!o.o.6T&&(o.1I.1z("5D","6T.5l",[[u,p],u*p]),o.1I.9e()),s=1A.3J(o.1c.1f/u),a=1A.3J(o.1c.1g/p),n=o.1c.1f-s*u,l=o.1c.1g-a*p,"2I"==h){1d b={2J:"2J",81:"3l",3l:"81","9A-81":"9A-3l","9A-3l":"9A-81"};d.6D&&d.6D.3R&&(d.6D.3R=b[d.6D.3R]),e.3f(["4s","6W","6z"],19(e,t){if(d[t]&&d[t].29){1d i=d[t].29;i.5R&&1A.3P(i.5R)>44&&(i.5R*=-1),i.67&&1A.3P(i.67)>44&&(i.67*=-1),i.43&&(i.43*=-1)}})}2c(1d S=0;S").2a("ls-nb").2j(o.1b.1S.$1R),18.$f8=e("<1B>").2a("ls-nd").2j(o.1b.1S.$1R)}2c(1d T=0;T(p-1)*u-1?l:0,2p=e("<1B>").2a("ls-1S-29-6D").1e({1f:s+P,1g:a+W}).1a("1X",{1f:s+P,1g:a+W}).2j(o.1b.1S.$1R);c[T];if(m=T%u==0?m+1:m,f=T%u==0?1:f+1,"3d"==t){2p.2a("ls-3d-4R");1d M,z,F,D,R,N,E,V=s+P,H=a+W,A=4e r.6U;E=1A.3P(1A.3P(f-u/2-.5)-u/2-.5)*1A.3P(1A.3P(m-p/2-.5)-p/2-.5),2p.1e({6O:E}),z=V/2,F=H/2,D=(M="j7"==d.4s.2F?1A.3P(d.4s.29.67)>90&&"j4"!=d.6D.j3?1A.3J(V/7)+P:V:1A.3P(d.4s.29.5R)>90&&"j4"!=d.6D.j3?1A.3J(H/7)+W:H)/2,18.79("ls-3d-6m",2p,0,0,0,0,-D,0,0,z+"px "+F+"px j1"),18.79("ls-3d-j0",2p.1D(".ls-3d-6m"),V,H,0,0,D,0,0),"nr"==d.4s.2F&&1A.3P(d.4s.29.5R)>90?18.79("ls-3d-bB",2p.1D(".ls-3d-6m"),V,H,0,0,-D,bA,0):18.79("ls-3d-bB",2p.1D(".ls-3d-6m"),V,H,0,0,-D,0,bA),18.79("ls-3d-1T",2p.1D(".ls-3d-6m"),M,H,-D,0,0,0,-90),18.79("ls-3d-3U",2p.1D(".ls-3d-6m"),M,H,V-D,0,0,0,90),18.79("ls-3d-27",2p.1D(".ls-3d-6m"),V,M,0,-D,0,90,0),18.79("ls-3d-1Z",2p.1D(".ls-3d-6m"),V,M,0,H-D,0,-90,0),C=2p.1D(".ls-3d-j0"),k="j7"==d.4s.2F?1A.3P(d.4s.29.67)>90?2p.1D(".ls-3d-bB"):d.4s.29.67>0?2p.1D(".ls-3d-1T"):2p.1D(".ls-3d-3U"):1A.3P(d.4s.29.5R)>90?2p.1D(".ls-3d-bB"):d.4s.29.5R>0?2p.1D(".ls-3d-1Z"):2p.1D(".ls-3d-27"),R=c[T]*d.6D.48,N=o.1b.1S.$1R.1D(".ls-3d-4R:eq( "+T+" ) .ls-3d-6m"),d.6W&&d.6W.29?(d.6W.29.48=d.6W.29.48?(d.6W.29.48+R)/3w:R/3w,A.2o(N[0],d.6W.1P/3w,o.1M.2U.29(d.6W.29,d.6W.4H))):d.4s.29.48=d.4s.29.48?(d.4s.29.48+R)/3w:R/3w,A.2o(N[0],d.4s.1P/3w,o.1M.2U.29(d.4s.29,d.4s.4H)),d.6z&&(d.6z.29||(d.6z.29={}),A.2o(N[0],d.6z.1P/3w,o.1M.2U.29(d.6z.29,d.6z.4H,"6z"))),o.1b.3G.1z(A,0)}2L{1d X,Y,j,K,q,U,G,Q,Z="2G",J="2G",ee="2G",5J="2G",ie=1,se=1,ae={};2O(Y="2J"==d.29.2F?(X=["27","1Z","3U","1T"])[1A.3J(1A.2J()*X.1t)]:d.29.2F,-1!=d.aK.4m().1i("iq")&&T%2==0&&(h="2I"==h?"1O":"2I"),"2I"==h&&(Y={27:"1Z",1Z:"27",1T:"3U",3U:"1T",fc:"fd",fe:"ff",ff:"fe",fd:"fc"}[Y]),Y){1j"27":Z=ee=-2p.1a("1X").1g,J=5J=0;1x;1j"1Z":Z=ee=2p.1a("1X").1g,J=5J=0;1x;1j"1T":Z=ee=0,J=5J=-2p.1a("1X").1f;1x;1j"3U":Z=ee=0,J=5J=2p.1a("1X").1f;1x;1j"fc":Z=2p.1a("1X").1g,ee=0,J=2p.1a("1X").1f,5J=0;1x;1j"fe":Z=2p.1a("1X").1g,ee=0,J=-2p.1a("1X").1f,5J=0;1x;1j"ff":Z=-2p.1a("1X").1g,ee=0,J=2p.1a("1X").1f,5J=0;1x;1j"fd":Z=-2p.1a("1X").1g,ee=0,J=-2p.1a("1X").1f,5J=0}2O(18.9r=d.29.2V?d.29.2V:1,1==w&&1!=18.9r&&(Z/=2,ee/=2,J/=2,5J/=2),d.29.22){1j"fL":Z=ee=J=5J=0,ie=0,se=1;1x;1j"nQ":ie=0,se=1,1==18.9r&&(ee=5J=0)}if((d.29.43||d.29.5R||d.29.67||1!=18.9r)&&"1S"!=d.29.22?2p.1e({4Z:"4L"}):2p.1e({4Z:"4K"}),1==w?18.$7V.1e({4Z:"4L"}):18.$7V.1e({4Z:"4K"}),!0===x||"1S"==d.29.22||!0===w?(j=2p.2j(18.$7V),K=2p.bw().2j(18.$f8),C=e("<1B>").2a("ls-ig").2j(j)):K=2p.2j(18.$f8),k=e("<1B>").2a("ls-ic").2j(K),q=c[T]*d.6D.48/3w,U=d.29.43?d.29.43:0,G=d.29.5R?d.29.5R:0,Q=d.29.67?d.29.67:0,"2I"==h&&(U=-U,G=-G,Q=-Q),o.1b.3G.3Z(k[0],d.29.1P/3w,{4J:!1,2n:!1,1e:{x:-J,y:-Z,3t:"5I",31:ie,2g:U,3B:G,3C:Q,2V:18.9r}},{2n:!1,1e:{x:0,y:0,31:se,2g:0,3B:0,3C:0,2V:1},2t:o.1M.2U.4H(d.29.4H)},q),1==x&&(2r 0===o.1b.2e.1a.$2h||2r 0!==o.1b.2e.1a.$2h&&(-1!=o.1b.2e.1a.$2h.1J("23").4m().1i("dN")||o.1b.2e.1a.$2h.1f()").1J("23",g).1e({1f:L.24.1f,1g:L.24.1g,"-5C-1u":L.24.1u,1u:L.24.1u,"-ms-3D":"59("+(L.24.x-I)+"px) 57("+(L.24.y-O)+"px)"+L.24.85+L.24.83,"-5C-3D":"59("+(L.24.x-I)+"px) 57("+(L.24.y-O)+"px)"+L.24.85+L.24.83,3D:"59("+(L.24.x-I)+"px) 57("+(L.24.y-O)+"px)"+L.24.85+L.24.83})):0===18.$7V.3O().1t&&18.$7V.1e("2h-47",o.1b.3r.1a.3e).9G(e("<3K>").1J("23",g).1e({1f:L.24.1f,1g:L.24.1g,"-5C-1u":L.24.1u,1u:L.24.1u,"-ms-3D":"59("+L.24.x+"px) 57("+L.24.y+"px)"+L.24.85+L.24.83,"-5C-3D":"59("+L.24.x+"px) 57("+L.24.y+"px)"+L.24.85+L.24.83,3D:"59("+L.24.x+"px) 57("+L.24.y+"px)"+L.24.85+L.24.83}))),"55"===o.1b.3r.1a.3e||o.1b.3r.1a.$2y.1t||("3d"===t||"2d"===t&&(!0===x||"1S"===d.29.22||!0===w)?C.1e("2h-47",o.1b.3r.1a.3e):0===18.$7V.3O().1t&&18.$7V.1e("2h-47",o.1b.3r.1a.3e)),2r 0!==o.1b.2e.1a.$2h&&(B=($=o.1b.2e.1a.$2h.1a(o.1p.1m.1V)).2z[y],k.9G(e("<3K>").1J("23",v).1e({1f:$.24.1f,1g:$.24.1g,"-5C-1u":o.1b.2e.1u.3A||"3s",1u:o.1b.2e.1u.3A||"3s","-ms-3D":"59("+($.24.x-I)+"px) 57("+($.24.y-O)+"px) 43("+B.2g+"84) 2V("+B.2V+")","-5C-3D":"59("+($.24.x-I)+"px) 57("+($.24.y-O)+"px) 43("+B.2g+"84) 2V("+B.2V+")",3D:"59("+($.24.x-I)+"px) 57("+($.24.y-O)+"px) 43("+B.2g+"84) 2V("+B.2V+")"}))),"55"===o.1b.2e.1a.3e||o.1b.2e.1a.$2y.1t||k.1e("2h-47",o.1b.2e.1a.3e)}o.1b.1S.$1R.ap(o.o.jv?o.1c.$66:o.1c.$5M),o.1b.1S.3i()},79:19(t,i,s,a,o,r,n,l,d,u){1d p="nU( "+o+"px, "+r+"px, "+n+"px)";0!==l&&(p+="5R( "+l+"84)"),0!==d&&(p+="67( "+d+"84)");1d c={1f:s,1g:a,3D:p,"-ms-3D":p,"-5C-3D":p};u&&(c["3D-fh"]=u,c["-ms-3D-fh"]=u,c["-5C-3D-fh"]=u),e("<1B>").2a(t).1e(c).2j(i)}}},1k:{in:{7J:19(e){e.1a(o.1p.1m.1V).1r.1U&&o.1b.1k.1r.7S(e)},4q:19(e){o.1W.eW(e)}},1N:{gM:19(){if(o.1b.5c){if(o.1b.1G){1d t,i,s=4e r.6U({4k:!0,i3:!0}),a=[],n=o.1k.2T("2C, in, 3F, 3n").1z(o.1k.2T("2C, 1N, 3F, 3n")),l=o.1k.2T("2C, 1N, cR, 3n"),d=o.1k.2T("2C, 1N, 3n"),u=19(e){s.1z(e,1q-e.1P()*e.3y())};e().1z(n).1z(l).3f(19(){1d s=e(18).1a(o.1p.1m.1V);if(s.1C.3L&&(o.1b.1G.6b(s.1C.3L),s.1C.3L.2Y()),s.is.3F){t=[s.26.$1R[0]],s.26.$8H&&(t=t.fj(s.26.$8H[0])),s.28.5A&&(t=t.fj(s.28.5A));2c(1d r=0;r18.4r&&(18.3y=18.4r/o.1b.1G.1P()),-1===o.1h[u].1a.1P?(o.1h[u].1a.1P=18.4r,o.1h[o.1h[u].1L].1a.1P=18.4r):18.4r=o.1h[u].1a.1P,18.bu(l,"in",o.1b.1G,o.1b.5c),!0===o.1b.1k.1s.6e&&o.2b&&o.1I.1z("2K","fl.hE",o.o.ez?"1U":"bU");2c(1d p=0;p\').2j("aC"),o.6o[t].1m&&o.6o[t].1m()):1o.4M&&4M.7i(o.1p.1c.9I,t,"5x eZ 5g eY en! q2 9n 6q:",o.6o[t].gK.gh,"(iv q3:",o.5x.6q+")"),o.o.2M.a6(0,1)},ia:19(e){o.4O.eM=cl(19(){-1===1o.2H.cY.1i(e)&&-1===1o.2H.9X.1i(e)||-1!==1o.2H.8W.1i(e)||(aq(o.4O.eM),2q o.4O.eM,o.2M.4g())},1q)}},o.1c={co:!0,4T:[],2x:{aG:!1,8B:!1,8n:!1},5k:!1,8p:19(){1Q 18.2x.aG||18.2x.8B||18.2x.8n},4g:19(){if(!2E.3I.87(t))1Q!1;o.2B.4c("g8")&&i.4o("g8"),o.1c.21.cr()},21:{cr:19(){if(o.dy=i[0].q7,o.6t=o.1M.2U.5l(o.1M.2U.g4(s)),o.8u={},o.o=e.4P(!0,{},o.1p.1m.3T,o.6t),o.o.7X/=3w,o.o.7X=o.o.7X>0?o.o.7X:.75,o.o.bI/=3w,1o.4M&&!0!==o.o.eF&&!0!==1o.2H.eF){1o.2H.eF=!0;1d t=1o.4M.6V?"6V":"5D";4M[t]("9n","v"+o.5x.6q,"9d"),4M[t]("qb qc fW qd @ 8i://5K.dU.5m/")}1d a={f6:"1I",js:"1I/5K.1I.js",1e:"1I/5K.1I.1e"};-1!==2E.7r.99.1i("1I")&&1o.4M&&(-1!==2E.7r.99.1i("6p=")&&(1o.2H.7Q=2E.7r.99.1K("6p=")[1].1K("&")[0],a.js=1o.2H.7Q+"1I/5K.1I.js",a.1e=1o.2H.7Q+"1I/5K.1I.1e"),"5U"==2u o.o.2M?o.o.2M.54(a):o.o.2M=[a]),(1o.2H.bJ||1o.2H.f4)&&(1o.2H.c9=(1o.2H.bJ||1o.2H.f4).23.2m(/\\\\/g,"/").2m(/\\/[^\\/]*$/,"")),"5U"==2u o.o.2M?o.2M.4g():o.1c.7n.9d()},df:19(){1d s,r,n,l,d,u,p,c,h,m,f,g,v,y,b,S,w,x,T,C,k,I,O=o.1c,L=i.4b(),$=t.1X,B=1o.jD(t,2v),P=1l(t.qf),W=1l(t.qg),2p=1l(L.1f()),M=1l(L.1g()),z=o.o.ck,F=o.o.iT,D=o.o.22.4m();2O(o.2b&&o.1I.1z("8k","3z.1X"),o.o.1f?s=-1==o.o.1f.1i("%")?1l(o.o.1f):o.o.1f:$.1f?s=-1==$.1f.1i("%")?1l($.1f):$.1f:z>0?(s=z,o.2b&&o.1I.1z("2K","3z.qh",z)):(s=P,o.2b&&o.1I.1z("2K","3z.qi",P)),n=s,o.o.1g?r=-1==o.o.1g.1i("%")?1l(o.o.1g):o.o.1g:$.1g?r=-1==$.1g.1i("%")?1l($.1g):$.1g:F>0?(r=F,o.2b&&o.1I.1z("2K","3z.qj",F)):(r=W,o.2b&&o.1I.1z("2K","3z.qk",M)),l=r,d=""!==$.4B?-1===$.4B.1i("%")?1l($.4B):$.4B:0,2r 0===o.6t.22&&(z>0&&F>0||"1q%"===s&&"1q%"===r?D="6w":z<=0&&F<=0&&(o.o.7o<=0||o.o.7o>0&&o.o.bd)?D=2r 0!==o.o.24&&!1===o.o.24?"eE":"24":o.o.7o>0&&(D="6r")),D){1j"6r":-1!==s.1i("%")&&(o.2b&&o.1I.1z("2K","3z.ju",[D,s,P]),s=P),z<=0&&(z=s,o.2b&&o.1I.1z("2K","3z.jl",[D,s])),o.o.7o<=0&&(o.o.7o=z,o.2b&&o.1I.1z("2K","3z.6r",z)),-1!==r.1i("%")&&(p=M/(1q/1l(r)),o.2b&&o.1I.1z("2K","3z.qo",[D,r,p]),r=p),F<=0&&(F=r);1x;1j"6w":-1!==s.1i("%")&&(u=z>0?z:2p,o.2b&&o.1I.1z("2K","3z.6w",[D,s,u,2p,z]),s=u),z<=0&&(z=s,o.2b&&o.1I.1z("2K","3z.jl",[D,s])),-1!==r.1i("%")&&(p=F>0?F:e(1o).1g()/(1q/1l(r)),o.2b&&o.1I.1z("2K","3z.qp",[D,r,p,e(1o).1g(),F]),r=p),F<=0&&(F=r,o.2b&&o.1I.1z("2K","3z.qq",[D,r]));1x;1j"eE":1x;5y:o.6t.22=o.o.22=D="24",o.o.7o=-1,-1!==s.1i("%")&&(s=P,o.2b&&o.1I.1z("2K","3z.ju",[D,s,P])),-1!==r.1i("%")&&(s=W,o.2b&&o.1I.1z("2K","3z.24",[D,r,W])),o.2b&&z>0&&o.1I.1z("2K","3z.qr",[D,z]),o.2b&&F>0&&o.1I.1z("2K","3z.qs",[D,F])}i.2a("ls-4R ls-"+D),i.4b().2a("ls-2F-qt"),o.o.iI&&o.o.dH&&("6r"===D||"6w"===D&&"dx"!==o.o.8Q)&&i.j5(":5g(3I, 5i)").3f(19(){e(18).2a("ls-4Z-4L")}),o.6t.9b||"24"!==D||!o.6t.6d("bd")||o.6t.bd||(o.o.9b="2G",o.2b&&o.1I.1z("2K","3z.qv",D)),o.o.9b=o.o.9b.2m("1q% 1q%","eI"),c=z>0?z:s,h=F>0?F:r,"2G"===(g=t.1X.3W)?m="2G":""===g?m=1l(B.e7("6N-1T")):m=1l(t.1X.3W),"2G"===(v=t.1X.8I)?f="2G":""===v?f=1l(B.e7("6N-3U")):f=1l(t.1X.8I),m===f&&(""===g&&""===v&&(y=m,m="2G",f="2G"),i.1e({3W:"2G",8I:"2G"})),b=""!==$.7f?1l($.7f):1l(i.1e("4x-1T")),w=""!==$.7e?1l($.7e):1l(i.1e("4x-3U")),S=""!==$.7d?1l($.7d):1l(i.1e("4x-27")),x=""!==$.7c?1l($.7c):1l(i.1e("4x-1Z")),T=""!==$.77?1l($.77):1l(i.1e("76-1T-1f")),k=""!==$.74?1l($.74):1l(i.1e("76-3U-1f")),C=""!==$.72?1l($.72):1l(i.1e("76-27-1f")),I=""!==$.71?1l($.71):1l(i.1e("76-1Z-1f")),O.49={22:D,1f:s,1g:r,9H:n,bh:l,8S:s/1q,8X:r/1q,aB:z,ek:F,1H:c/h,4B:d,3W:m,8I:f,7f:b,7d:S,7e:w,7c:x,77:T,72:C,74:k,71:I,aP:b+w+T+k,aw:S+x+C+I},o.2b&&(o.1I.1z("5D","3z.1X",[s,r,n,l,z,F,1l(c/h*1q)/1q,d>0?d:2r 0,[m,f]]),y&&o.1I.1z("2K","3z.6N",y)),e("5i").1J("id")?e("3I").1J("id")||e("3I").1J("id","ls-cr"):e("5i").1J("id","ls-cr"),"3F"!==$.6A&&"jx"!==$.6A&&(t.1X.6A="eJ"),o.o.dK&&i[o.o.iZ](o.o.dK),o.1c.$7Y=e(\'<1B 2s="ls-cX-4R qy ls-4K" 1a-5K-dA="\'+a+\'">\').2a(i.1J("2s")).ap("3I"),o.1c.$5M=e(\'<1B 2s="ls-cU">\'),o.1c.$66=e(\'<1B 2s="ls-1k">\').2j(o.1c.$5M),o.1c.$gF=e(\'<1B 2s="ls-2h-80">\').2j(o.1c.$66),o.1c.$d0=e(\'<1B 2s="ls-1S-qz">\').2j(o.1c.$66),o.1c.$5M.2j(i),!0===o.o.ev&&o.1n.6J?(i.2a("ls-9z"),i.3S(".ls-cX-6r-4R").2a("ls-9z"),o.o.9h=!1):o.1c.7n.dW(),o.o.9y&&o.1c.$5M.1e({gc:"6p( "+o.o.9y+" )",qB:o.o.gR,qC:o.o.h3,cs:o.o.ha,ci:o.o.hi}),o.1c.$5M.1e({3e:o.o.9v}),"55"==o.o.9v&&!1===o.o.9y&&o.1c.$5M.1e({2h:"3s 55"})},3T:19(){if(e("5i").1D(\'8u[dT*="b3"]\').1t&&(o.8u.ih=e("5i").1D(\'8u[dT*="b3"]\').1J("dT").1K("b3")[1]),e("5i").1D(\'8m[23*="5K"]\').1t&&-1!=e("5i").1D(\'8m[23*="5K"]\').1J("23").1i("?")&&(o.8u.i5=e("5i").1D(\'8m[23*="5K"]\').1J("23").1K("?")[1].1K("=")[1]),"6K"!=2u a3&&(o.t=e.4P({},a3)),"6K"!=2u bW&&(o.ct=e.4P({},bW)),o.2b&&("6K"!=2u qG?(o.1I.1z("5D","3z.h8",!1),"6K"==2u a3&&o.1I.1z("2K","3z.qH")):"6K"==2u a3&&o.1I.1z("2K","3z.qI")),"4w"==2u o.o.e8&&(o.1b.1k.1F.1p.aQ=o.o.e8),"4w"==2u o.o.fH&&(o.1b.1k.1F.1p.7y=o.o.fH),o.o.et&&(o.1b.1k.1F.1p.fy=o.o.et),o.o.5n&&(o.o.5O=-1,o.o.ag=!0,o.o.5V=!1,o.o.9h=!1),o.o.ag){if(o.1c.5e=o.1n.63>o.1c.4D-(o.1n.4Y-o.1c.1g)/2?"ce":"fs",o.o.5n){1d t,i,s,r=!0,n=4*o.o.jC;o.1n.2i.9f=9p,o.1b.1k.1s.6Q=0,e(2E).on("qJ."+a+" 8T."+a,19(e){o.1n.6J?((t=e.9a.6F[0].qK)>i?o.1n.2i.2F="9D":t0?o.1n.2i.2F="9g":o.1n.2i.2F="9D",s=e.9a.hf),0!==1A.3P(s)&&(o.1n.2i.b7?o.1n.2i.b7!==o.1n.2i.2F&&(o.1n.2i.b7=o.1n.2i.2F,o.1b.1k.1s.6Q=0):o.1n.2i.b7=o.1n.2i.2F,"9P"===o.1c.5e&&(o.1E.bX(),s>=0?o.1b.1k.1s.fk():o.1b.1k.1s.bE(),r&&(8b(o.2Q.2i),r=!1,o.1b.1k.1s.6Q=o.1b.1k.1s.6Q50?o.1n.2i.9f-50:50},o.1n.2i.9f))))})}e(1o).on("2i."+a,19(){o.1c.7n.5e()}),o.2Q.jn=5F(19(){o.1c.7n.5e()},25)}o.1c.fY=!0},6l:19(){i.1J("1a-2C-1S",o.1h.2C.1L)}},7n:{9d:19(){o.2b&&o.1I.1z("5D","3z.6V",[o.5x.6q,o.5x.jh,o.6t.bd||"n/a or 1c 6q is qQ 6.0.0",i.1J("id"),a,e.fn.bS,o.8u.i5,o.8u.ih],!0),o.1c.9d||(o.1c.9d=!0,18.dX())},dX:19(){o.o.4p&&""!==o.o.4p&&o.o.9u&&""!==o.o.9u?o.1y.4p.4g():o.1c.1m()},dW:19(){o.1n.6J&&!1!==o.o.ev||(o.1n.7mo.o.ew&&o.o.ew>0?o.1c.3X():o.1c.68())},5e:19(){if(2q o.2Q.jn,o.o.5n)o.1n.2i.2F&&("9g"===o.1n.2i.2F?o.1n.63:o.1c.4D-(o.1n.4Y-o.1c.1g)/2)>("9g"===o.1n.2i.2F?o.1c.4D-(o.1n.4Y-o.1c.1g)/2:o.1n.63)&&("9D"===o.1n.2i.2F&&"ce"===o.1c.5e||"9g"===o.1n.2i.2F&&"fs"===o.1c.5e)&&(o.1c.5e="9P",o.1E.bX(),o.1n.2i.au());2L{1d t=o.1n.63+o.1n.4Y/2,i=o.1c.4D+o.1c.1g/2;(1A.3P(t-i)o.1c.4D+o.1c.1g)&&(o.1c.5e="9P",e(1o).70("2i."+a),o.2b&&o.1I.1z("5D","1w.qR",!1),o.1b.1G&&o.1b.1k.1s.2Y())}}},1m:19(){8b(o.2Q.fB),8b(o.2Q.fC),8b(o.2Q.fD),8b(o.2Q.fE),o.1n.jg(),o.1c.21.df(),o.1c.21.3T(),o.1h.1m(),o.1n.5u.21(),o.1W.1m(),o.1y.2l.1m(),o.1y.cp.1m(),o.6g.1m(),o.1y.4h.1m(),o.2k.1m(),o.1w.1m(),o.1h.21.4a(),o.1y.2k.1m(),o.1E.1c(),o.3m.1m(),e(1o).on("1E."+a,19(){o.1c.7n.dW(),"9P"===o.1c.5e&&o.o.5n&&o.1E.bX(),o.1c.co&&o.1E.5B()}),o.2b&&(e(1o).70(".1I"+a),e(1o).on("1E.1I"+a,19(){o.1I.1z("5D","1E.1o",o.1n.7m,!0)})),e(1o).on("fG."+a,19(){o.1n.dp(),o.1E.5B()}),o.1n.dp(),e(1o).5p("1E."+a),e(1o).5p("fG."+a),o.2B.4c("i9")&&i.4o("i9",o.2B.4I()),o.1M.2Z(o.1c,{6G:!0}),o.1c.2x.hY?o.2B.8O("hH"):o.1w.7k(o.1h.3j.1L)},3X:19(){i.2a("ls-9z"),i.3S(".ls-cX-6r-4R").2a("ls-9z")},68:19(){i.3V("ls-9z"),i.3S(".ls-cX-6r-4R").3V("ls-9z")}},o.1M={2U:{3k:19(t,i,s){1d a=e.3N(t),r=a.1K(" "),n="",l=["qX","qY"],d=[o.1c.1f,o.1c.1g];a=a.2m("qZ","0").2m("r0","1q%").2m("r1","50%").2m("r2","50%").2m("dG","0").2m("dE","1q%").2m("1T","0").2m("3U","1q%").2m("8l","50%").2m("r3","50%").2m("27","0").2m("1Z","1q%").1K(" ");2c(1d u=0;u-1;r--)2c(1d n=t-1;n>-1;n--)s.54(r+n*e);1Q s},dv:19(e){2c(1d t,i,s=e.1t;0!==s;)i=1A.3J(1A.2J()*s),t=e[s-=1],e[s]=e[i],e[i]=t;1Q e},fI:19(e){1d t=0;2c(1d i in e)e.6d(i)&&++t;1Q t},bQ:19(e){1Q e[0].da?e[0].da:e.1a("23 ")?e.1a("23 "):e.1J("23")},h2:19(e){1Q!!e.1J("fw")&&e.1J("fw")},2Z:19(e,t,s){if(e&&e.2x){1d a=o.1w.5k();if(s)e.2x[t]=s;2L 2c(1d r in t)e.2x[r]=t[r];1d n=o.1w.5k();e==o.1w&&(o.2B.4c("gU")&&i.4o("gU",o.2B.4I()),n!=a&&(n?o.2B.4c("gL")&&i.4o("gL",o.2B.4I()):o.2B.4c("gE")&&i.4o("gE",o.2B.4I())))}},gq:19(){2c(1d e in o.2Q)8b(o.2Q[e]),2q o.2Q[e];2c(1d t in o.4O)aq(o.4O[t]),2q o.4O[t]},gm:19(){o.1b.1G&&(o.1b.1G.5s().7p().6f(),2q o.1b.1G),o.1b.5c&&(o.1b.5c.6f(),2q o.1b.5c),o.1b.3G&&(o.1b.3G.5s().7p().6f(),2q o.1b.3G),r.3g.rm(i.1D(".ls-bg, .ls-2X, .ls-1R, .ls-ig, .ls-ic").2T())},jJ:19(){o.1b.1G&&(o.1b.1G.5s().3y(0).7p().6f(),2q o.1b.1G),o.1b.5c&&(o.1b.5c.5s().3y(1).7p().6f(),2q o.1b.5c),i.1D(".ls-2X:5g(.ls-bg-4z)").3f(19(){1d t=e(18).1a(o.1p.1m.1V);t.1C.3L&&(t.1C.3L.1Y().7p(),2q t.1C.3L,r.3g.21(t.26.$7F[0],t.3x.er)),r.3g.21(t.26.$1R[0],t.3x.es)})},g6:19(){e(1o).1z("3I").1z(i).1z(i.1D("*")).1z("."+a).70("."+a+" .1I"+a+" .1F"+a+" .dl"+a),i.70()}},o.1n={$9K:e(e("3I").1t?"3I":"5i"),6J:!!bZ.c0.4f(/(jB|jc|ja|rt|ru|rv|rw|rx ry|rz|rA rB|rC 7)/i),k3:!!1o.rD,2i:{8J:[32,33,34,35,36,37,38,39,40],au:19(){1o.ch&&1o.ch("iW",18.41,!1),1o.iQ=18.rF,1o.c7=2E.c7=18.41,1o.iz=18.41,2E.ir=18.ii},7S:19(){1o.ib&&1o.ib("iW",18.41,!1),1o.c7=2E.c7=2v,1o.iQ=2v,1o.iz=2v,2E.ir=2v},41:19(e){(e=e||1o.7b).41&&e.41(),e.rL=!1},ii:19(e){if(-1!==o.1n.2i.8J.1i(e.rM))1Q o.1n.2i.41(e),!1}},dc:19(){1o.aJ?1o.aJ().cM?1o.aJ().cM():1o.aJ().gJ&&1o.aJ().gJ():2E.gt&&2E.gt.cM()},5u:{gp:19(){"6w"==o.1c.49.22&&"hu"==o.o.8Q&&(o.1c.dO=o.1c.4D),o.1M.2Z(o.1c,{7a:!0}),e("3I, 5i").2a("ls-5u"),o.1c.6L.d9(),i.5p("5t"),o.1n.dc()},d8:19(){o.1M.2Z(o.1c,{7a:!1}),o.1E.5B(),e("3I, 5i").3V("ls-5u"),o.1n.dc()},d7:19(){o.1n.5u.1v()?(o.1n.5u.d8(),2E.d6()):o.1n.5u.gp()},21:19(){o.o.iL&&(2E.rX||2E.rY||2E.rZ||2E.s0)&&(i.5w(\'<1B 2s="ls-5u-1R">\'),o.1c.$6L=i.3S(".ls-5u-1R"),o.1c.6L=o.1c.$6L[0],o.1c.6L.d9=o.1c.6L.d9||o.1c.6L.s1||o.1c.6L.s2||o.1c.6L.s3,2E.d6=2E.d6||2E.s4||2E.s5||2E.s6,e(2E).on("s7."+a+" s8."+a+" s9."+a+" sa."+a,19(){o.1n.5u.1v()||o.1n.5u.d8()}),o.1c.$6L.on("sb."+a,19(){o.1n.5u.d7()}))},1v:19(){1Q 2E.sc||2E.sd||2E.sf||2E.sg}},dp:19(){18.1f=iH.1f,18.1g=iH.1g,18.7m=e(1o).1f(),18.4Y=e(1o).1g(),18.sj=e(2E).1f(),18.hX=e(2E).1g(),18.63=e(1o).cS(),18.dk=e(1o).gC(),18.1H=18.1f/18.1g,o.1c.4D=i.62().27,o.1c.aA=i.62().1T},jg:19(){1d t,s=18;e(1o).on("1E.dl"+a,19(){s.7m=e(1o).1f(),s.4Y=e(1o).1g(),s.1H=s.1f/s.1g,o.1c.4D=i.62().27,o.1c.aA=i.62().1T}),e(1o).on("2i.dl"+a,19(){s.63=e(1o).cS(),s.dk=e(1o).gC(),o.1c.4D=i.62().27,o.1c.aA=i.62().1T}),e(1o).on("8T",19(e){s.63=1o.sm,s.dk=1o.sn,1==(t=e.6F?e.6F:e.9a.6F).1t&&(s.iO=t[0].e4)})}},o.2B={4c:19(i,s){1d a=e.so(s||t,"bs");1Q!(!a||!a[i])},8O:19(t,s,r,n){if(!o.1c.8p())if("4w"==2u t)t>0&&t"),s=!1,a=!1,o=["sV","sW","sX","sY","sZ"],r=["t0","t1","t2","t3","t4"],n=o.1t-1;n>=0;n--)s=s||2r 0!==t[0].1X[o[n]];2c(1d l=r.1t-1;l>=0;l--)t.1e("3D-1X","k4-3d"),a=a||"k4-3d"==t[0].1X[r[l]];1Q s&&2r 0!==t[0].1X[o[4]]&&(t.1J("id","ls-t6").2j(i),s=3===t[0].t7&&9===t[0].aA,t.6b()),s&&a},fR:-1!==bZ.c0.1i("t8/5")},o.6o={},o.2Q={},o.4O={},o.1I={3T:{}},o.5x={6q:"6.6.8",jh:"t9. ge. 11."},o.1c.4g()}}(5o);',62,1808,'||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||this|function|data|transitions|slider|var|css|width|height|slides|indexOf|case|layers|parseInt|init|device|window|defaults|100|hover|timeline|length|filter|element|slideshow|break|gui|add|Math|div|loop|find|resize|parallax|_slideTimeline|ratio|debug|attr|split|index|functions|out|next|duration|return|wrapper|slide|left|enabled|dataKey|media|style|stop|bottom|transitionProperties|set|type|src|responsive||elements|top|textIn|transition|addClass|debugMode|for||nextSlide|clip|rotation|background|scroll|appendTo|navigation|timers|replace|autoCSS|to|_|delete|void|class|ease|typeof|null|transformPerspective|state|backgroundVideo|kenBurns|textOut|api|current|thumbnail|document|direction|auto|_layerSlider|prev|random|warn|else|plugins|slidebar|switch|parseFloat|timeouts|mediaSettings|mediaProperties|get|convert|scale|startAt|layer|play|setStates||opacity|||||||||original|settings|_transition||backgroundColor|each|TweenMax|wrappers|start|first|transformOrigin|reverse|yourLogo|active|values|nav|count|curSlide|none|display|cursor|textOutNodesTo|1e3|reset|progress|sliderInit|from|rotationX|rotationY|transform|player|static|_slideTransition|youtube|body|floor|img|_timeline|textInNodesFrom|trim|children|abs|borderRadius|sequence|closest|options|right|removeClass|marginLeft|hide|max|fromTo||preventDefault|vimeo|rotate|||circle|color|delay|initial|firstSlide|parent|hasEvent|iframe|new|match|load|shadow|outLayerToCSS|loopToCSS|paused|hoverToCSS|toLowerCase|styleSettings|triggerHandler|skin|onComplete|totalDuration|animation|isEmptyObject|hasClass|the|number|padding|scaleX|video|bar|maxWidth|volume|offsetTop|hoverShouldBeConverted|outerWidth|inLayerFromCSS|easing|eventData|immediateRender|hidden|visible|console|filters|intervals|extend|outerHeight|container|scaleY|thumbnails|deeplink|href|link|autoplay|viewportHeight|overflow||normal|self|text|push|transparent|inLayerToCSS|translateY|controls|translateX|layerSlider|should|_forceLayersOut|image|positionToViewport|string|not|300|html|click|isPaused|properties|com|playByScroll|jQuery|trigger|timeScale|marginTop|pause|mouseleave|fullscreen|fadeIn|wrap|plugin|default|target|nodes|all|webkit|log|containerElement|setTimeout|html5|transitionoutstart|block|te|layerslider|skewY|innerWrapper|slideBackground|cycles|skewX|maxRatio|rotateX|fadeOut|easeIn|object|pauseOnHover|getStyle|mouseenter|inLayerStyleShouldBeConvertedFrom|clipShouldBeConverted||create|offset|winScrollTop|globalhover|createTransition|layersWrapper|rotateY|show|showinfo|repeat|remove|outLayerStyleShouldBeConvertedTo|hasOwnProperty|shouldRestart|kill|preload|fontSize|vpcontainer|500|cycle|attributes|box|zoom|initializedPlugins|url|version|fullwidth|loopstart|userInitOptions|round|replay|fullsize|loopLayerShouldBeConverted|change|after|position|level|thumbnailNavigation|tile|easeOut|touches|isLoaded|visibility|tablet|isMobile|undefined|fullscreenWrapper|phone|margin|zIndex|rows|timeScaleModifier|durationIn|preImages|slideTransition|TimelineMax|info|before|running|ceil|transitioninend|off|borderBottomWidth|borderTopWidth|loopend|borderRightWidth||border|borderLeftWidth|cols|createCuboids|inFullscreen|event|paddingBottom|paddingTop|paddingRight|paddingLeft|_layerSliders|browser|error|lsSliderUID|changeTo|clipTo|viewportWidth|check|responsiveUnder|clear|onUpdate|location|sliderContainerElement|allMediaLayers|transitioninstart|splitType|textinstart|shiftNodes|sensitive|isNumeric|customtransition3d|customtransition2d|outerWrapper|transition2d|thumb|loopWrapper|finished|allinend|removeAttr|onStart|label|aria|timelineIsCalculated|slideIndex|sliderContainerElementWidth|onUpdateParams|pluginsPath|mousemove|enable|globals|outClipShouldBeConverted|curTiles|protocol|forceLayersOutDuration|hiddenWrapper|transition3d|videos|forward|curSrc|kbScale|deg|kbRotation|shuffleSlideshow|contains|hoverWrapper|minmobilefontsize|layerInit|clearTimeout|audio|minfontsize|poster|_linkTween|transformProperties|update|https|animate|group|center|script|animatingSlides|distance|isBusy|textoutstart|textInShouldBeConverted|span|textOutShouldBeConverted|meta|getTiming|parallaxWrapper|jump|resume|afterIn|normalized|changingSlides|layerStyleFrom|createPlayer|layerTo|bgWrapper|layerFrom|clipWrapper|marginRight|keys|inLayerStyleFromCSS|layerShouldBeConverted|layerTransition|Linear|methods|setHover|fullSizeMode|slideOut|percW|touchmove|title|textLayer|pluginsBeingLoaded|percH|easeNone|byline||portrait|outLayerStyleToCSS|transitionoutend|textoutend|shouldBeConverted|curNext|textinend|layerStyleTo|hash|originalEvent|slideBGSize|textInNodesTo|initialized|groupEnd|timeout|down|autoStart|percentWidth|percentHeight|styleProperties|isPopup|pausedByVideo|LayerSlider|substring|250|yoyo|scale2D|always|overlay|skinsPath|globalBGColor|firstStart|prop|globalBGImage|forcehide|col|slidebuttons|calculateTransformProperties|up|repeatDelay|wrapped|append|originalWidth|errorText|containerElementWidth|overflowWrapper|navStartStop|setStartStop|getXY|stopBackgroundVideo|inside|mediaLayer|playingInCurSlide|durationOut|http|originalTop|isSafari|twoWaySlideshow|pluginsNotLoaded|allinandloopend|unselectable|easeInOutQuint|mouseMove|stopped|layerSliderTransitions|nodesTo|transitionDuration|splice|slidechangeonly|pauseLayers|youTubeIsReady|touchNext|hoverImage|9999|touchPrev||originalLeft|startInViewport|loopClipShouldBeConverted|cover|min|slideInSequence|inLayerTo|outLayerShouldBeConverted||setRandomProperties|prependTo|clearInterval|inLayerStyleShouldBeConvertedTo|onReverseComplete||disable|pausedByLastCycle|skinHeight|getAttribute|responsiveLayers|pausedByHover|offsetLeft|layersWidth|head|durationMove|outLayerTo|Scroll|preloadingImages|backgroundvideo|outLayerStyleShouldBeConvertedFrom|getSelection|name|buttonStart|originalBottom|onCompleteCallback|autoPauseSlideshow|skinWidth|centerDegree|touchEndX|scrollModifier|setBackgroundVideo|buttonStop|inClipShouldBeConverted|prevNext|videoURL|page|notactive|originalRight|videoElement|tnHeight|WordPress|transformPropertiesCalculated|inLayerShouldBeConverted|true|lastDirection|updateTo|select|videoEnded|timeShift|seekTo|sliderVersion||forceDirection||originalHeight|bgOuterWrapper|staticfrom|staticto|tnContainerWidth|fillmode|hoverBottomNav|navButtons|endedInCurSlide|animate2D|showUntil|events|vimeoIsReady|addLayers|popup|clone|shadowIsChecked||750|180|back|durationLeave|clipFrom|scrollBackwards|ready|layerStyleShouldBeConvertedFrom|layerStyleShouldBeConvertedTo|sliderFadeInDuration|currentScript|pageX|nodesFrom|defaultProperties|blur|hue|_tween|getURL|bullets|jquery|2e3|disabled|150|layerSliderCustomTransitions|viewport|playBackgroundVideo|navigator|userAgent|fadeTo|afterLoop|bgFrom|bgTo|removeFromTimeline|ontouchstart|onmousewheel|sliderElement|scriptPath|checkSlideshowState|hideThumbnail|onSlide|playMedia|under|lineHeight|letterSpacing|addEventListener|backgroundPosition|inLayerStyleToCSS|layersContainerWidth|setInterval|calculatedTimeShift|randomized|shouldResize|loadingIndicator|mouseEnter|global|backgroundSize||outLayerStyleFromCSS|eventCallback|outLayerStyleTo|outClipTo|animate3D|showThumbnail|textOutNodesFrom|YT|loopTo|now|Date|bgvideo|curCycle|setMediaElements|nocookie|youtu|last|setProperties|empty|bgonly|saved|sizes|Please|notstatic|scrollTop|easeInOut|inner|touchStartX|srcset|wp|pluginsLoaded|desktop|slideBGWrapper|srcSet|customZIndex|clipSlideTransition|blend|mix|exitFullscreen|toggle|exit|requestFullscreen|currentSrc|words|removeSelection|setLayers|randomProperties|styles|originalLayer|waitForJSApisLoaded|are|parentWithNumericWidthValue|winScrollLeft|setter|_properties|scale3d||getDimensions|checkVersions|your|parentWithNumericWidthValuePercent|wrapperData|outer|shuffleArray|toString|fitheight|originalMarkup|indexOfSlideInSequence|uid|cycleSlideIndex|lsDataArraySplitChar|ariaLabel|sliderbottom|popupIsVisible|slidertop|fitScreenWidth|linkto|slidesData|insertSelector|addShadow|playByScrollSkipSlideBreaks|png|heroTop|tnAlt|imagesOfSlide|slideshowOnly|smartLinks|content|kreaturamedia|forceCycles|showHide|skins|navPrevNext|waitingForYouTube|waitingForVimeo|tnWidth|tnActiveOpacity|tnInactiveOpacity|clientX|rel|autoPlayVideos|getPropertyValue|parallaxCenterDegree|hoverTo|hoverFromCSS|loadYouTube|hoverFrom|loopClipTo||loopFromCSS|outClipToCSS|outLayerStyleFrom|outLayerFromCSS|outLayerFrom|layersHeight|isYouTubeReady|inClipTo|loaded|inLayerStyleTo|mode||loopWrapperOnSlideChange|wrapperOnSlideChange|parallaxCenterLayers|yourLogoLink|hideOnMobile|hideOver|slideOnSwipe|preloadBackgroundVideo|allowRestartOnResize|useSrcset|shouldPlay|playVideo|tagName|fixedsize|hideWelcomeMessage|loadVimeo|isVimeoReady|stretch|relative|started|calc|pluginLoaded|axis|alloutandloopend|textoutandloopend|splitTypeKeys|videopreview|elementWidth|alwaysOnTop|willBePaused|isPreloaded|playIfAllowed|setTransition|been|has|custom|toUpperCase|files|progressBarElement|lsScript|usesFileProtocol|namespace|sortArray|nextTiles|onCompleteParams|slidersList|forceHide|topleft|bottomright|topright|bottomleft|easeout|origin|hoverWrapperInner|concat|scrollForward|slideTimeline|slice||mouseLeave|switchHelper|setNodesSequence|modifyTimeScale|over|canhover|hoverIn|hovered|alt|easein|centerLayers|GSAP|beta|skinLoad1|skinLoad2|skinLoad3|skinLoad4|gamma|orientationchange|parallaxSensitivity|countProp|startat|shift|fade|use|custom2d|Image|custom3d|issue|isOld|supports3D|scroll2|loopFrom|thumbnailsAreLoaded|and|slideChangeDidComplete|canShow|It|lines|loopClipToCSS|applyBG|nodeName|oldProperties|lazy|clearEvents|slideout|sliderWillLoad|nocontrols|slideChangeWillComplete|call|backgroundImage|changeBackgroundVideo|01|substr|library|requiredLSVersion||hoverOut|slideChangeDidStart|transitionType|clearTimelines|charAt|slideTransitionType|enter|clearTimers|kenburnspan|reverseTimeScale|selection|instanceof|pan|createTimeline|wrapping|_gsTransform|overflowy|kenburnszoom|overflowx|scrollLeft|kenburnsrotation|slideshowDidResume|bgVideosWrapper|kenburnsrotate|kenburnsscale|staggerFromTo|removeAllRanges|pluginData|slideshowDidPause|forced|directionAtSlideTransitionStart|translateZ|resetNodes|rect|globalBGRepeat|Height|Width|slideshowStateDidChange|parallaxtype|timing3|looks|tn|timing1|parallaxevent|forceLoopNum|getALT|globalBGAttachment|sequences|timelineHierarchy|parallaxaxis|like|customTransitions|parallaxtransformorigin|globalBGSize|slideTimelineDidComplete|parallaxdurationmove|slideIndexes|reversed|deltaY|slideTimelineDidCreate|parallaxdurationleave|globalBGPosition|transitioninandloopend|nextSlideIndex|textinandloopend|parallaxrotate|slideTimelineDidUpdate|slideChangeWillStart|normalizedSequence|shouldReplay|slideTimelineDidReverseComplete|parallaxrotation|parallaxdistance|hero|slideTimelineDidStart|parentNode|resetStates|scaleZ|alloutend|parallaxtransformperspective|linkTo|easeinout|pagetop|restart|contain|pagebottom|destroy|keybNav|brightness|contrast|specified|grayscale|amp|smart|touchNav|invert|wmode|opaque|saturate|sepia|videoThumbnailURL|hoverPrevNext|docHeight|shouldBeDestroyed|showBarTimer|keyframe|showCircleTimer|imageLayer|autoRemoveChildren|showSlideBarTimer|lswpVersion|previous|fitwidth|javascript|sliderDidLoad|checkLoaded|removeEventListener|nexttile||||curtile|wpVersion|preventDefaultForScrollKeys|linkedToSlide|layersOut|notification|layersIn||strong|oldjquery|mirror|onkeydown||removeSlider|youtubePreview|you|which|setVolume|LS_GSAP|ontouchmove|Plugin|fixed|touch|parallaxWrapperData|addLayer|keyboard|loading|screen|preventSliderClip|touchend|touchstart|allowFullscreen|showNotice|file|touchX|parallaxScrollReverse|onwheel|yourLogoStyle|addEvent|layersContainerHeight|10px|getSliderClosestParentElementWidthNumericValueOfProperty|DOMMouseScroll|currentTime|volumeIsSet|insertMethod|front|0px|yourLogoTarget|depth|large|parents|reverseDuration|horizontal|optimizeForMobile|fadeInDuration|iPad|hideUnder|iPod|05|4e3|linear|setBasicEvents|releaseDate|prepare|half|hashChange|conWidth|slideBGPosition|checkPosition|preloadedWidth|preloadedHeight|createStartStop|createSides||above|percWidth|preferBlendMode|sliderDidResize|absolute|sliderDidRemove|wrapperOnTimelineEnd|sholudBeRemoved|iPhone|playByScrollSpeed|getComputedStyle|inLayerFrom|sides|hider|inLayerStyleFrom|inClipFrom|resetSlideTimelines|inClipFromCSS|removeShadow|timer|sliderWillResize|playByScrollStart|waitForWrap|sliderDidDestroy|inClipToCSS|success|transitionorigami|line|createStyleSheet|stylesheet|deviceTurn|lastIndexOf|CUSTOM|preloadedImagesCount|btmMod|resizeShadow|supportOrientation|preserve|texteasein|600|below|touchscroll|sideright|sideleft|outline|textDecoration|bock|yourlogo|remainingSlideDuration|playvideo|ended|finish|thumbnail_large|getJSON|callback|progressbar|json|mousedown|v2|mouseup|player_id|Froogaloop|froogaloop2|indicator|400|vimeocdn|pauseVideo|keydown|isAnimating|isPreloading|onStateChange|onReady|Player|onYouTubeIframeAPIReady|iframe_api|www|embed|vi|enablejsapi|errors|dequeue|forceStop|setdir|changedByUser|invalidSlideIndex|merge|nextLoop|3e3|101|SplitType|removeProp|forever|map|apply|slidein|gif|base64|R0lGODlhAQABAIAAAAAAAP|yH5BAEAAAAALAAAAAABAAEAAAIBRAA7|splitType2|splitType1|chars|splitType3b|splitType3a|prop4|prop2|prop1|converted|dataLS|spacing|letter|fail||size||font|borderBottomLeftRadius|borderBottomRightRadius|borderTopRightRadius|borderTopLeftRadius|styleHeight|styleWidth|webkitFilter||360|640|getBoundingClientRect||loopWrapperData|clipWrapperData|pointer|clicked|than|Quint|scrollHeight|removeAttribute|setAttribute|continue|nothumb|textInNodesToCSS|infinite|offsetX|offsetY|1025|767|768|inherit|slideIn|lines_edge|lines_center|lines_rand|lines_desc|item|lines_asc|words_edge|words_center|words_rand|words_desc|words_asc|chars_edge|chars_center|chars_rand|chars_desc|chars_asc|disbaled|hovertransformperspective|looptransformperspective|texttransformperspectiveout|texttransformperspectivein|texttransformperspective|transformperspectiveout|noSlideTransition|transformperspectivein|transformperspective|parallaxlevel|hovertransformorigin|hoverradius|hoverborderradius|0deg|hoverfilter|hoveroffsety|hoveroffsetx|hoveralwaysontop|hoverdurationout|hoverdurationin||hoverduration|hovereasingout|hovereaseout|hovereasingin|hovereasein|hovereasing|hoverease|_no|found_|hovercolor|hoverbgcolor|hoverskewy|leaveOverflow|hoverskewx|hoverscaley|hoverscalex|obj|hoverscale|hoverrotationy|hoverrotationx|hoverrotation|hoverrotatey|hoverrotatex|hoverrotate|customTransition|hoveropacity|loopeasing|loopease|loopyoyo|looprepeatdelay|loopcount|loopduration|loopstartat|loopdelay|loopclip|loopfilter|loopoffsety|loopoffsetx|looptransformorigin|loopskewy|loopskewx|carousel|crossfad|loopscaley|curtiles|loopscalex|nexttiles|loopscale|looprotationy|looprotationx|looprotation|looprotatey|looprotatex|looprotate|loopopacity|texttransitionout|textdurationout||textoutstartat|textstartatout|vertical||textdelayout|textshiftout|texttypeout|textoffsetyout|textoffsetxout|texttransformoriginout|texteasingout|texteaseout|textskewyout|textskewxout|textscaleyout|textscalexout|textscaleout|textrotationyout|textrotationxout|textrotationout|textrotateyout|textrotatexout|textrotateout|textopacityout|textfadeout|transitionout|easingout|mixed|durationout|outstartat|startatout|translate3d|showuntil|clipout|offsetyout|offsetxout|getTweensOf|seek|transformoriginout|filterout|heightout|widthout|radiusout|colorout|bgcolorout|skewyout|skewxout|scaleyout|scalexout|scaleout|rotationyout|||rotationxout|rotationout|rotateyout|rotatexout|layersOnSlideTimeline|slideTimelineDuration|rotateout||opacityout|fadeout|texttransitionin||textdurationin|popupShouldStart|textinstartat|textstartatin|textdelayin|textshiftin|texttypein|timing2|Quad|textoffsetyin|Sine|textoffsetxin|texttransformoriginin|texteasingin|insertAfter|textskewyin|addPause|textskewxin|looplayers|addCallback|textscaleyin|textscalexin|textscalein|textrotationyin|textrotationxin|textrotationin|_reversed|onReverseCompleteParams|textrotateyin|textrotatexin|999999px|textrotatein|textopacityin|textfadein|transitionin|easingin|durationin|instartat|startatin|delayin|clipin|offsetyin|deviceorientation|offsetxin|transformoriginin|skewy|skewx|scaley|scalex|orientation|rotationy|rotationx|rotatey|rotatex|filterin|heightin|pageY|widthin|radiusin|desc|colorin|rand|sort|edge|char|word|bgcolorin||skewyin|skewxin|scaleyin|scalexin|scalein|rotationyin|rotationxin|Cannot|rotationin|include|rotateyin|manually|rotatexin|rotatein|missing|opacityin|fadein|added|but|source|found|mirrortransitions|ajax|dataType|Additional|complete|registerPluginDefaults|filterto|filterfrom|bgcolor|Required|have|backgroundcolor|bgposition|backgroundposition|outerHTML|bgsize|backgroundsize|transitionduration|Find|updates|docs|timeshift|clientWidth|clientHeight|noWidth|noWidth2|noHeight|noHeight2|slidedelay|UID|staticImage|fullwidth2|fullsize2|conHeight|conWidth2|conHeight2|fix|_self|bgCover|jpg|maxresdefault|fitvidsignore|backgrounds|v6|backgroundRepeat|backgroundAttachment|350|_LS|gsap|layerCustomSliderTransitions|slideTransitions|noSlideTransitions|wheel|clientY|sliderInitOptions|defaultInitOptions|LS|strict|prototype|pre|inviewport|Number|insertBefore|logo|here|clicking|Left|Top|sliderleft|sliderright|slidercenter|slidermiddle|middle|swing|updating|about|more|easeInOutQuart|read|false|NaN|firstLayer|loops|layersContainer|sublayerContainer|randomSlideshow|can|You|entry|wordpress|faq|killTweensOf|support|Updater|Important|higher|newer|least|Android|BlackBerry|BB10|webOS|Windows|Phone|mobi|opera|mini|nexus|DeviceOrientationEvent|requires|preventdefault|old|using|Old|Settings|Advanced|returnValue|keyCode|Troubleshooting|within|option|includes|JS|Put|main|area|admin|navigate|fullscreenEnabled|webkitFullscreenEnabled|mozFullScreenEnabled|msFullscreenEnabled|webkitRequestFullscreen|mozRequestFullScreen|msRequestFullscreen|webkitExitFullscreen|mozCancelFullScreen|msExitFullscreen|fullscreenchange|webkitfullscreenchange|mozfullscreenchange|msfullscreenchange|dblclick|fullscreenElement|webkitFullscreenElement||mozFullScreenElement|msFullscreenElement||sliders|docWidth|problems|causing|pageYOffset|pageXOffset|_data|previousSlide|startSlideshow|openPopup|copy|closePopup|updateLayerData|redrawSlider||redraw|replaySlide|reverseSlide|stopSlideshow|pauseSlider|resumePopup|resumeSlider|001|toggleSlider|resetSlider|resetSlide|resetCurrentSlide|removeData|extra|loads|theme|userData|another|that|slideChangeTimeline|Safari|Opera|Chrome|Edge|perspective|OPerspective|msPerspective|MozPerspective|WebkitPerspective|transformStyle|OTransformStyle|msTransformStyle|MozTransformStyle|WebkitTransformStyle|Multiple|test3d|offsetHeight|rident|2018'.split('|'),0,{})); // source --> https://moussaouiassurances.com/wp-content/plugins/LayerSlider/static/layerslider/js/layerslider.transitions.js /* * 2D & 3D Transitions for LayerSlider * * (c) 2011-2018 George Krupa, John Gera & Kreatura Media * * Plugin web: https://layerslider.kreaturamedia.com/ * Licenses: http://codecanyon.net/licenses/ */ ;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2b 22={2a:[{i:\'Z M G\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'1f\',a:F,h:\'t\'}},{i:\'Z M t\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'1f\',a:F,h:\'G\'}},{i:\'Z M L\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'1f\',a:F,h:\'K\'}},{i:\'Z M K\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'1f\',a:F,h:\'L\'}},{i:\'29\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'13\',b:\'1f\',a:F,h:\'t\'}},{i:\'Y P n\',d:[2,4],g:[4,7],f:{e:1j,j:\'n\'},c:{o:\'13\',b:\'y\',a:F,h:\'t\'}},{i:\'Y P D\',d:[2,4],g:[4,7],f:{e:1j,j:\'D\'},c:{o:\'13\',b:\'y\',a:F,h:\'t\'}},{i:\'Y P 1i-n\',d:[2,4],g:[4,7],f:{e:1j,j:\'1i-n\'},c:{o:\'13\',b:\'y\',a:F,h:\'t\'}},{i:\'Y P 1i-D\',d:[2,4],g:[4,7],f:{e:1j,j:\'1i-D\'},c:{o:\'13\',b:\'y\',a:F,h:\'t\'}},{i:\'Y P (k)\',d:[2,4],g:[4,7],f:{e:1j,j:\'k\'},c:{o:\'13\',b:\'y\',a:F,h:\'t\'}},{i:\'1x 1z M G\',d:1,g:1u,f:{e:25,j:\'D\'},c:{o:\'13\',b:\'28\',a:U,h:\'t\'}},{i:\'1x 1z M t\',d:1,g:1u,f:{e:25,j:\'n\'},c:{o:\'13\',b:\'u\',a:U,h:\'t\'}},{i:\'1x 1z M L\',d:1u,g:1,f:{e:25,j:\'1i-D\'},c:{o:\'13\',b:\'u\',a:U,h:\'t\'}},{i:\'1x 1z M K\',d:1u,g:1,f:{e:25,j:\'1i-n\'},c:{o:\'13\',b:\'u\',a:U,h:\'t\'}},{i:\'1x X M G\',d:1,g:25,f:{e:1j,j:\'D\'},c:{o:\'V\',b:\'u\',a:1e,h:\'t\'}},{i:\'1x X M t\',d:1,g:25,f:{e:1j,j:\'n\'},c:{o:\'V\',b:\'u\',a:1e,h:\'G\'}},{i:\'1x 27 M L\',d:25,g:1,f:{e:1j,j:\'1i-D\'},c:{o:\'V\',b:\'u\',a:1e,h:\'K\'}},{i:\'1x X M K\',d:25,g:1,f:{e:1j,j:\'1i-n\'},c:{o:\'V\',b:\'u\',a:1e,h:\'L\'}},{i:\'Z P m G (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'V\',b:\'y\',a:1l,h:\'G\'}},{i:\'Z P m t (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'V\',b:\'y\',a:1l,h:\'t\'}},{i:\'Z P m L (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'V\',b:\'y\',a:1l,h:\'L\'}},{i:\'Z P m K (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'V\',b:\'y\',a:1l,h:\'K\'}},{i:\'Z k P m k 1R\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'V\',b:\'y\',a:1l,h:\'k\'}},{i:\'Z d m G (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'G\'}},{i:\'Z d m G (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'G\'}},{i:\'Z d m G (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'G\'}},{i:\'Z d m t (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'t\'}},{i:\'Z d m t (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'t\'}},{i:\'Z d m t (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'t\'}},{i:\'Z d M K m L (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'L\'}},{i:\'Z d M K m L (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'L\'}},{i:\'Z d M L m K (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'K\'}},{i:\'Z d M L m K (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'K\'}},{i:\'Z O m L (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'L\'}},{i:\'Z O m L (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'L\'}},{i:\'Z O m L (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'L\'}},{i:\'Z O m K (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'K\'}},{i:\'Z O m K (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'K\'}},{i:\'Z O m K (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'K\'}},{i:\'Z O M t m G (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'V\',b:\'u\',a:p,h:\'G\'}},{i:\'Z O M t m G (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'G\'}},{i:\'Z O M G m t (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'V\',b:\'u\',a:p,h:\'t\'}},{i:\'Z O M G m t (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'V\',b:\'u\',a:p,h:\'t\'}},{i:\'Y s X P m G (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'G\'}},{i:\'Y s X P m t (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'t\'}},{i:\'Y s X P m L (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'L\'}},{i:\'Y s X P m K (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'K\'}},{i:\'Y s X k P m k 1R\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'k\'}},{i:\'Y s X P M K-t (n)\',d:[2,4],g:[4,7],f:{e:1c,j:\'n\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'26\'}},{i:\'Y s X P M L-G (D)\',d:[2,4],g:[4,7],f:{e:1c,j:\'D\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'1Y\'}},{i:\'Y s X P M K-G (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'1W\'}},{i:\'Y s X P M L-t (k)\',d:[2,4],g:[4,7],f:{e:1c,j:\'k\'},c:{o:\'Q\',b:\'y\',a:1l,h:\'23\'}},{i:\'Y s X d m G (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'G\'}},{i:\'Y s X d m G (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'G\'}},{i:\'Y s X d m G (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'G\'}},{i:\'Y s X d m t (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'t\'}},{i:\'Y s X d m t (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'t\'}},{i:\'Y s X d m t (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'t\'}},{i:\'Y s X d M K m L (n)\',d:[7,11],g:1,f:{e:1a,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'L\'}},{i:\'Y s X d M K m L (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'L\'}},{i:\'Y s X d M L m K (D)\',d:[7,11],g:1,f:{e:1a,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'K\'}},{i:\'Y s X d M L m K (k)\',d:[7,11],g:1,f:{e:1a,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'K\'}},{i:\'Y s X O m L (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'L\'}},{i:\'Y s X O m L (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'L\'}},{i:\'Y s X O m L (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'L\'}},{i:\'Y s X O m K (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'K\'}},{i:\'Y s X O m K (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'K\'}},{i:\'Y s X O m K (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'K\'}},{i:\'Y s X O M t m G (n)\',d:1,g:[12,16],f:{e:q,j:\'n\'},c:{o:\'Q\',b:\'u\',a:p,h:\'G\'}},{i:\'Y s X O M t m G (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'G\'}},{i:\'Y s X O M G m t (D)\',d:1,g:[12,16],f:{e:q,j:\'D\'},c:{o:\'Q\',b:\'u\',a:p,h:\'t\'}},{i:\'Y s X O M G m t (k)\',d:1,g:[12,16],f:{e:q,j:\'k\'},c:{o:\'Q\',b:\'u\',a:p,h:\'t\'}},{i:\'1v\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5}},{i:\'1v d\',d:4,g:1,f:{e:1c,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5}},{i:\'1v g\',d:1,g:4,f:{e:1c,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5}},{i:\'1v P z\',d:3,g:4,f:{e:1u,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5,x:v}},{i:\'1v P C\',d:3,g:4,f:{e:1u,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'K\',1g:0.5,w:-v}},{i:\'1v-1H P z\',d:3,g:4,f:{e:15,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5,x:v}},{i:\'1v-1H P C\',d:3,g:4,f:{e:15,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'K\',1g:0.5,w:-v}},{i:\'1v 1H d\',d:4,g:1,f:{e:1c,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'G\',1g:0.5}},{i:\'1v 1H g\',d:1,g:4,f:{e:1c,j:\'n\'},c:{o:\'Q\',b:\'1f\',a:U,h:\'t\',1g:0.5}},{i:\'1d f M t\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'y\',a:U,h:\'G\',x:v}},{i:\'1d f M G\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'y\',a:U,h:\'t\',x:-v}},{i:\'1d f M K\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'y\',a:U,h:\'L\',w:-v}},{i:\'1d f M L\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'y\',a:U,h:\'K\',w:v}},{i:\'1d P M t\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:v}},{i:\'1d P M G\',d:[3,4],g:[3,4],f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:-v}},{i:\'1d P M K\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:-v}},{i:\'1d P M L\',d:[3,4],g:[3,4],f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:v}},{i:\'1d d M K\',d:[6,12],g:1,f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:v}},{i:\'1d d M L\',d:[6,12],g:1,f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:-v}},{i:\'1d g M t\',d:1,g:[6,12],f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:-v}},{i:\'1d g M G\',d:1,g:[6,12],f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:v}},{i:\'1w d M t\',d:[3,10],g:1,f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:v}},{i:\'1w d M G\',d:[3,10],g:1,f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:-v}},{i:\'1w g M K\',d:1,g:[3,10],f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:-v}},{i:\'1w g M L\',d:1,g:[3,10],f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',w:v}},{i:\'1w s 1q f M t\',d:1,g:1,f:{e:q,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'G\',1g:0.1,1s:-v,x:v}},{i:\'1w s 1q f M G\',d:1,g:1,f:{e:q,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'t\',1g:0.1,1s:v,x:-v}},{i:\'1w s 1q P M t\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'G\',1s:-1r}},{i:\'1w s 1q P M G\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'t\',1s:-1r}},{i:\'1w s 1q P M k\',d:[3,4],g:[3,4],f:{e:19,j:\'k\'},c:{o:\'Q\',b:\'y\',a:U,h:\'k\',1s:-1r}},{i:\'E f 1Q\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'13\',b:\'y\',a:18,h:\'t\',1g:0.8}},{i:\'E f M 1L\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'13\',b:\'u\',a:18,h:\'t\',1g:1.2}},{i:\'E P k\',d:[3,4],g:[3,4],f:{e:1u,j:\'k\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',1g:0.1}},{i:\'E P M 1L k\',d:[3,4],g:[3,4],f:{e:1u,j:\'k\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',1g:2}},{i:\'E 1Q s 1q P k\',d:[3,4],g:[3,4],f:{e:1u,j:\'k\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',1g:0.1,1s:v}},{i:\'E s 1q P M 1L k\',d:[3,4],g:[3,4],f:{e:1u,j:\'k\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',1g:2,1s:-v}},{i:\'1F-X P 21\',d:3,g:4,f:{e:15,j:\'n\'},c:{o:\'V\',b:\'u\',a:24,h:\'1W\'}},{i:\'1F-X d z\',d:6,g:1,f:{e:0,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'t\'}},{i:\'1F-X d C\',d:6,g:1,f:{e:0,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'K\'}},{i:\'1F-X g z\',d:1,g:8,f:{e:0,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'t\'}},{i:\'1F-X g C\',d:1,g:8,f:{e:0,j:\'n\'},c:{o:\'Q\',b:\'y\',a:U,h:\'K\'}}],1Z:[{i:\'1b f m G (l°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{x:1J},b:\'1A\',a:F,h:\'z\'},A:{c:{x:l},b:\'y\',a:F,h:\'z\'}},{i:\'1b f m t (l°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{x:-1J},b:\'1A\',a:F,h:\'z\'},A:{c:{x:-l},b:\'y\',a:F,h:\'z\'}},{i:\'1b f m L (l°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{w:-1J},b:\'1A\',a:1y,h:\'C\'},A:{c:{w:-l},b:\'y\',a:1y,h:\'C\'}},{i:\'1b f m K (l°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{w:1J},b:\'1A\',a:1y,h:\'C\'},A:{c:{w:l},b:\'y\',a:1y,h:\'C\'}},{i:\'1b P m G (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'n\'},r:{c:{x:l},b:\'u\',a:F,h:\'z\'}},{i:\'1b P m t (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'D\'},r:{c:{x:-l},b:\'u\',a:F,h:\'z\'}},{i:\'1b P m L (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-n\'},r:{c:{w:-l},b:\'u\',a:F,h:\'C\'}},{i:\'1b P m K (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-D\'},r:{c:{w:l},b:\'u\',a:F,h:\'C\'}},{i:\'1G S P k (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},r:{c:{x:l},b:\'u\',a:1K,h:\'z\'}},{i:\'1E S P k (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},r:{c:{w:l},b:\'u\',a:1K,h:\'C\'}},{i:\'E s S P m G (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'n\'},I:{c:{B:0.1D},a:1n,b:\'14\'},r:{c:{x:l},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s S P m t (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'D\'},I:{c:{B:0.1D},a:1n,b:\'14\'},r:{c:{x:-l},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s S P m L (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-n\'},I:{c:{B:0.1D},a:1n,b:\'14\'},r:{c:{w:-l},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s S P m K (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-D\'},I:{c:{B:0.1D},a:1n,b:\'14\'},r:{c:{w:l},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s z S P k (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},I:{c:{B:0.1D,w:1j},a:1n,b:\'14\'},r:{c:{x:l,w:-1j},b:\'H\',a:1K,h:\'z\'},A:{c:{w:0},a:1e,b:\'H\'}},{i:\'E s C S P k (l°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},I:{c:{B:0.1D,x:-15},a:1n,b:\'14\'},r:{c:{w:l,x:15},b:\'H\',a:1K,h:\'C\'},A:{c:{x:0},a:1e,b:\'H\'}},{i:\'1b d m G (l°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},r:{c:{x:l},b:\'u\',a:18,h:\'z\'}},{i:\'1b d m t (l°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},r:{c:{x:-l},b:\'u\',a:18,h:\'z\'}},{i:\'1b d m L (l°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},r:{c:{w:-l},b:\'u\',a:F,h:\'C\'}},{i:\'1b d m K (l°)\',d:[5,9],g:1,f:{e:q,j:\'D\'},r:{c:{w:l},b:\'u\',a:F,h:\'C\'}},{i:\'1G S d k (l°)\',d:[5,9],g:1,f:{e:q,j:\'k\'},r:{c:{x:l},b:\'u\',a:18,h:\'z\'}},{i:\'1E S d k (l°)\',d:[5,9],g:1,f:{e:q,j:\'k\'},r:{c:{w:-l},b:\'u\',a:18,h:\'C\'}},{i:\'1E S d k (1C°)\',d:[3,7],g:1,f:{e:1N,j:\'k\'},r:{c:{w:-1C},b:\'u\',a:1O,h:\'C\'}},{i:\'E s S d m G (l°)\',d:[5,9],g:1,f:{e:19,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'H\',a:1m,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S d m t (l°)\',d:[5,9],g:1,f:{e:19,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-l},b:\'H\',a:1m,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S d m L (l°)\',d:[5,9],g:1,f:{e:19,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'u\',a:p,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S d m K (l°)\',d:[5,9],g:1,f:{e:19,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:l},b:\'u\',a:p,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s z S d k (l°)\',d:[5,9],g:1,f:{e:19,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'H\',a:1m,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s C S d k (l°)\',d:[5,9],g:1,f:{e:19,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'H\',a:p,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'1b O m G (l°)\',d:1,g:[5,9],f:{e:q,j:\'n\'},r:{c:{x:l},b:\'u\',a:18,h:\'z\'}},{i:\'1b O m t (l°)\',d:1,g:[5,9],f:{e:q,j:\'n\'},r:{c:{x:-l},b:\'u\',a:18,h:\'z\'}},{i:\'1b O m L (l°)\',d:1,g:[5,9],f:{e:q,j:\'n\'},r:{c:{w:-l},b:\'u\',a:F,h:\'C\'}},{i:\'1b O m K (l°)\',d:1,g:[5,9],f:{e:q,j:\'D\'},r:{c:{w:l},b:\'u\',a:F,h:\'C\'}},{i:\'1G S O k (l°)\',d:1,g:[5,9],f:{e:q,j:\'k\'},r:{c:{x:l},b:\'u\',a:18,h:\'z\'}},{i:\'1E S O k (l°)\',d:1,g:[5,9],f:{e:q,j:\'k\'},r:{c:{w:-l},b:\'u\',a:18,h:\'C\'}},{i:\'1G S O k (1C°)\',d:1,g:[4,9],f:{e:1N,j:\'k\'},r:{c:{x:1C},b:\'u\',a:1O,h:\'z\'}},{i:\'E s S O m G (l°)\',d:1,g:[7,11],f:{e:19,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'u\',a:p,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S O m t (l°)\',d:1,g:[7,11],f:{e:19,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-l},b:\'u\',a:p,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S O m L (l°)\',d:1,g:[7,11],f:{e:19,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'H\',a:1m,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s S O m K (l°)\',d:1,g:[7,11],f:{e:q,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:l},b:\'H\',a:1m,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s z S O k (l°)\',d:1,g:[7,11],f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'H\',a:p,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s C S O k (l°)\',d:1,g:[7,11],f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'H\',a:1m,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'1T 1U 1V s S m G (l°)\',d:1,g:[7,11],f:{e:q,j:\'n\'},I:{c:{B:0.N,w:-1j},a:p,b:\'y\'},r:{c:{w:-1j,x:l},b:\'u\',a:F,h:\'z\'},A:{c:{w:0,e:W},b:\'y\',a:p}},{i:\'1T 1U 1V s S m t (l°)\',d:1,g:[7,11],f:{e:q,j:\'D\'},I:{c:{B:0.N,w:-1j},a:p,b:\'y\'},r:{c:{w:1j,x:-l},b:\'u\',a:F,h:\'z\'},A:{c:{w:0,e:W},b:\'y\',a:p}},{i:\'1d 1t m G (v°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{x:v},b:\'u\',a:18,h:\'z\'}},{i:\'1d 1t m t (v°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{x:-v},b:\'u\',a:18,h:\'z\'}},{i:\'1d 1t m L (v°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{w:-v},b:\'u\',a:18,h:\'C\'}},{i:\'1d 1t m K (v°)\',d:1,g:1,f:{e:q,j:\'n\'},r:{c:{w:v},b:\'u\',a:18,h:\'C\'}},{i:\'E s 17 1t m G (v°)\',d:1,g:1,f:{e:q,j:\'k\'},r:{c:{B:0.8,1s:7,w:10,x:1r},b:\'1f\',a:1y,h:\'z\'},A:{c:{1s:0,w:0,x:v},a:1y,b:\'1f\'}},{i:\'E s 17 1t m t (v°)\',d:1,g:1,f:{e:q,j:\'k\'},r:{c:{B:0.8,1s:-7,w:10,x:-1r},b:\'1f\',a:1y,h:\'z\'},A:{c:{1s:0,w:0,x:-v},a:1y,b:\'1f\'}},{i:\'E s 17 1k m G (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'n\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{x:v},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s 17 1k m t (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'D\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{x:-v},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s 17 1k m L (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-n\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{w:-v},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s 17 1k m K (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-D\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{w:v},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s z 17 1k k (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},I:{c:{B:0.q,w:-15},a:1p,b:\'14\'},r:{c:{x:q,w:15},b:\'H\',a:1p,h:\'z\'},A:{c:{x:v,w:0},a:1p,b:\'H\'}},{i:\'E s C 17 1k k (v°)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\'},I:{c:{B:0.q,x:15},a:1p,b:\'14\'},r:{c:{w:q,x:-15},b:\'H\',a:1p,h:\'C\'},A:{c:{w:v,x:0},a:1p,b:\'H\'}},{i:\'1d d m G (v°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},r:{c:{x:v},b:\'u\',a:18,h:\'z\'}},{i:\'1d d m t (v°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},r:{c:{x:-v},b:\'u\',a:18,h:\'z\'}},{i:\'1G 17 d k (v°)\',d:[5,9],g:1,f:{e:q,j:\'k\'},r:{c:{x:v},b:\'u\',a:18,h:\'z\'}},{i:\'E s 17 d m G (v°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:20},b:\'H\',a:F,h:\'z\'},A:{c:{e:W,x:v},b:\'J\',a:p}},{i:\'E s 17 d m t (v°)\',d:[5,9],g:1,f:{e:q,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-v},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s 17 d m L (v°)\',d:[5,9],g:1,f:{e:q,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s 17 d m K (v°)\',d:[5,9],g:1,f:{e:q,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s z 17 d k (v°)\',d:[5,9],g:1,f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:v},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s C 17 d k (v°)\',d:[5,9],g:1,f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s z 17 1I d m G (v°)\',d:[7,11],g:1,f:{e:q,j:\'n\'},r:{c:{B:0.N,x:1r},b:\'14\',a:F,h:\'z\'},A:{c:{x:v},b:\'14\',a:F}},{i:\'E s z 17 1I d m t (v°)\',d:[7,11],g:1,f:{e:q,j:\'D\'},r:{c:{B:0.N,x:-1r},b:\'14\',a:F,h:\'z\'},A:{c:{x:-v},b:\'14\',a:F}},{i:\'1d O m L (v°)\',d:1,g:[5,9],f:{e:q,j:\'n\'},r:{c:{w:-v},b:\'u\',a:F,h:\'C\'}},{i:\'1d O m K (v°)\',d:1,g:[5,9],f:{e:q,j:\'D\'},r:{c:{w:v},b:\'u\',a:F,h:\'C\'}},{i:\'1E 17 O k (v°)\',d:1,g:[5,9],f:{e:q,j:\'k\'},r:{c:{w:-v},b:\'u\',a:F,h:\'C\'}},{i:\'E s 17 O m L (v°)\',d:1,g:[7,11],f:{e:q,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s 17 O m K (v°)\',d:1,g:[7,11],f:{e:q,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s 17 O m G (v°)\',d:1,g:[7,11],f:{e:q,j:\'n\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:v},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s 17 O m t (v°)\',d:1,g:[7,11],f:{e:q,j:\'D\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-v},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s z 17 O k (v°)\',d:1,g:[7,11],f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:v},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s C 17 O k (v°)\',d:1,g:[7,11],f:{e:q,j:\'k\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-v},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'J\',a:p}},{i:\'E s C 17 1I O m G (v°)\',d:1,g:[7,11],f:{e:q,j:\'n\'},r:{c:{B:0.N,w:1r},b:\'14\',a:F,h:\'C\'},A:{c:{w:v},b:\'14\',a:F}},{i:\'E s C 17 1I O m t (v°)\',d:1,g:[7,11],f:{e:q,j:\'D\'},r:{c:{B:0.N,w:-1r},b:\'14\',a:F,h:\'C\'},A:{c:{w:-v},b:\'14\',a:F}},{i:\'1b 1t m G (l°, R T)\',d:1,g:1,f:{e:q,j:\'n\',T:\'R\'},r:{c:{x:l},b:\'u\',a:18,h:\'z\'}},{i:\'1b 1t m t (l°, R T)\',d:1,g:1,f:{e:q,j:\'n\',T:\'R\'},r:{c:{x:-l},b:\'u\',a:18,h:\'z\'}},{i:\'1b 1t m L (l°, R T)\',d:1,g:1,f:{e:q,j:\'n\',T:\'R\'},r:{c:{w:-l},b:\'u\',a:18,h:\'C\'}},{i:\'1b 1t m K (l°, R T)\',d:1,g:1,f:{e:q,j:\'n\',T:\'R\'},r:{c:{w:l},b:\'u\',a:18,h:\'C\'}},{i:\'E s S 1k m G (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'n\',T:\'R\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{x:l},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s S 1k m t (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'D\',T:\'R\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{x:-l},b:\'H\',a:F,h:\'z\'},A:{a:1e,b:\'H\'}},{i:\'E s S 1k m L (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-n\',T:\'R\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{w:-l},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s S 1k m K (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'1i-D\',T:\'R\'},I:{c:{B:0.N},a:1n,b:\'14\'},r:{c:{w:l},b:\'H\',a:F,h:\'C\'},A:{a:1e,b:\'H\'}},{i:\'E s z S 1k k (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\',T:\'R\'},I:{c:{B:0.1h},a:1p,b:\'14\'},r:{c:{x:l},b:\'H\',a:1p,h:\'z\'},A:{a:1p,b:\'H\'}},{i:\'E s C S 1k k (l°, R T)\',d:[2,4],g:[4,7],f:{e:q,j:\'k\',T:\'R\'},I:{c:{B:0.1h},a:1p,b:\'14\'},r:{c:{w:l},b:\'H\',a:1p,h:\'C\'},A:{a:1p,b:\'H\'}},{i:\'E s S d m G (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'n\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'u\',a:1m,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S d m t (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'D\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-l},b:\'u\',a:1m,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S d m L (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'n\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S d m K (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'D\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:l},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s z S d k (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'k\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'u\',a:1m,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s C S d k (l°, R T)\',d:[5,9],g:1,f:{e:1h,j:\'k\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'H\',a:F,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S O m L (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'n\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'u\',a:1m,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S O m K (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'D\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:l},b:\'u\',a:1m,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S O m G (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'n\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s S O m t (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'D\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:-l},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s z S O k (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'k\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{x:l},b:\'H\',a:F,h:\'z\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'E s C S O k (l°, R T)\',d:1,g:[7,11],f:{e:1h,j:\'k\',T:\'R\'},I:{c:{B:0.N},a:p,b:\'J\'},r:{c:{w:-l},b:\'u\',a:1m,h:\'C\'},A:{c:{e:W},b:\'y\',a:1o}},{i:\'1S 1q s 1z 1M\',d:1,g:1,f:{e:1,j:\'n\',T:\'R\'},I:{c:{B:0.1h,x:-1P,1B:0},a:18,b:\'1A\'},r:{c:{B:1,x:-1C,1B:1},b:\'y\',a:18,h:\'z\'}},{i:\'1X 1q s 1z 1M\',d:1,g:1,f:{e:1,j:\'n\',T:\'R\'},I:{c:{B:0.1h,w:-1P,1B:0},a:18,b:\'1A\'},r:{c:{B:1,w:-1C,1B:1},b:\'y\',a:18,h:\'C\'}},{i:\'1S 1q s 1z 1k\',d:[2,3],g:[3,5],f:{e:1c,j:\'k\'},I:{c:{B:0.q,1B:0},a:1e,b:\'1A\'},r:{c:{x:-1r,w:l},b:\'u\',a:1,h:\'C\'},A:{c:{x:0,1B:1},b:\'y\',a:1m}},{i:\'1X 1q s 1z 1k\',d:[2,3],g:[3,5],f:{e:1c,j:\'k\'},I:{c:{B:0.q,1B:0},a:1e,b:\'1A\'},r:{c:{w:-1r,x:l},b:\'u\',a:1,h:\'z\'},A:{c:{w:0,1B:1},b:\'y\',a:1m}}]};',62,136,'||||||||||duration|easing|transition|rows|delay|tile|cols|direction|name|sequence|random|180|to|forward|type|600|75|animation|and|left|easeInOutQuart|90|rotateX|rotateY|easeOutQuart|horizontal|after|scale3d|vertical|reverse|Scaling|1000|right|easeInOutBack|before|easeOutBack|top|bottom|from|85|columns|tiles|mixed|large|spinning|depth|750|slide|200|sliding|Fading|Sliding||||fade|easeInOutQuint|||turning|1500|55|100|Spinning|50|Turning|350|easeInOutQuad|scale|65|col|30|cuboids|500|1200|450|400|700|rotating|45|rotate|cuboid|35|Carousel|Flying|Smooth|800|fading|easeInQuart|opacity|540|95|Vertical|Mirror|Horizontal|mirror|drunk|91|1300|out|cube|150|2000|270|in|directions|Horizontally|Drunk|colums|scaling|topright|Vertically|bottomright|t3d|87|diagonal|layerSliderTransitions|bottomleft|850||topleft|sliging|linear|Crossfading|t2d|var'.split('|'),0,{})); // source --> https://moussaouiassurances.com/wp-content/plugins/FreemakeSliderPlugin/engine/fmcarouselskins.js var FM_CAROUSEL_SKIN_OPTIONS = { classic: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "classic", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-3.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 18, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, classicwithflip: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "classicwithflip", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-3.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 18, scrollitems: 1, showhoveroverlay: false, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, gallery: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 48, itembackgroundimagewidth: 100, skin: "gallery", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-48-48-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 48, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, readmore: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 48, itembackgroundimagewidth: 100, skin: "readmore", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-48-48-4.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: false, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 48, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, hoverover: { width: 200, height: 200, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "hoverover", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: false, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, flip: { width: 200, height: 200, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "flip", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: false, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, highlight: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 48, itembackgroundimagewidth: 100, skin: "highlight", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: true, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-48-48-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 48, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, list: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 12, random: false, showbottomshadow: false, arrowheight: 28, itembackgroundimagewidth: 100, skin: "list", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-28-28-0.png", direction: "vertical", navimage: "bullet-12-12-1.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 28, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 4, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 12, loop: 0, transitionduration: 1E3 }, navigator: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 12, random: false, showbottomshadow: false, arrowheight: 28, itembackgroundimagewidth: 100, skin: "navigator", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-28-28-0.png", direction: "horizontal", navimage: "bullet-12-12-1.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 28, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 4, playvideoimage: "playvideo-64-64-0.png", visibleitems: 2, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 12, loop: 0, transitionduration: 1E3 }, showcase: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "showcase", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "none", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-4.png", direction: "vertical", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "vertical", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 1, navswitchonmouseover: true, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, simplicity: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "simplicity", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "none", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-6.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-1.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, scroller: { width: 120, height: 120, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 16, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "scroller", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "none", backgroundimagetop: -40, arrowstyle: "none", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-6.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: true, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-1.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: false, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 5, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, stylish: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 24, random: false, showbottomshadow: true, arrowheight: 32, itembackgroundimagewidth: 100, skin: "stylish", responsive: true, bottomshadowimage: "bottomshadow-110-100-5.png", enabletouchswipe: false, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 100, hoveroverlayimage: "hoveroverlay-64-64-4.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-0.png", direction: "horizontal", navimage: "bullet-24-24-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 4, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 24, loop: 0, transitionduration: 1E3 }, thumbnail: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 28, itembackgroundimagewidth: 100, skin: "thumbnail", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "none", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-28-28-0.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 8, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 28, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 1, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 750 }, vertical: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, navheight: 24, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "vertical", responsive: true, bottomshadowimage: "bottomshadow-110-100-5.png", enabletouchswipe: true, navstyle: "none", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 100, hoveroverlayimage: "hoveroverlay-64-64-4.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-4.png", direction: "vertical", navimage: "bullet-24-24-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 12, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "vertical", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 4, playvideoimage: "playvideo-64-64-0.png", visibleitems: 2, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 24, loop: 0, transitionduration: 1E3 }, testimonial: { width: 360, height: 270, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, donotcrop: false, navheight: 12, random: false, showhoveroverlay: true, height: 270, arrowheight: 32, itembackgroundimagewidth: 100, skin: "testimonial", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", navstyle: "none", enabletouchswipe: true, backgroundimagetop: -40, arrowstyle: "mouseover", bottomshadowimagetop: 95, transitionduration: 1E3, lightboxshowtitle: true, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", lightboxshowdescription: false, width: 360, showitembottomshadow: false, showhoveroverlayalways: false, navimage: "bullet-12-12-1.png", lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", backgroundimagewidth: 110, playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", scrollitems: 1, showbottomshadow: false, lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, transitioneasing: "easeOutExpo", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 4, lightboxthumbwidth: 80, scrollmode: "item", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, arrowwidth: 32, transparent: false, navmode: "page", lightboxthumbbottommargin: 8, interval: 2E3, lightboxthumbheight: 60, navspacing: 4, pauseonmouseover: false, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 1, navswitchonmouseover: false, direction: "horizontal", usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 12, loop: 0, autoplay: true }, fashion: { width: 300, height: 300, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, donotcrop: false, navheight: 16, random: false, showhoveroverlay: false, height: 300, arrowheight: 60, itembackgroundimagewidth: 100, skin: "fashion", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", navstyle: "bullets", enabletouchswipe: true, backgroundimagetop: -40, arrowstyle: "mouseover", bottomshadowimagetop: 95, transitionduration: 1E3, lightboxshowtitle: true, hoveroverlayimage: "hoveroverlay-64-64-4.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", lightboxshowdescription: false, width: 300, showitembottomshadow: false, showhoveroverlayalways: false, navimage: "bullet-16-16-1.png", lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", backgroundimagewidth: 110, playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-42-60-0.png", scrollitems: 1, showbottomshadow: false, lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, transitioneasing: "easeOutExpo", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 0, lightboxthumbwidth: 80, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, arrowwidth: 42, transparent: false, navmode: "page", lightboxthumbbottommargin: 8, interval: 3E3, lightboxthumbheight: 60, navspacing: 8, pauseonmouseover: true, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, direction: "horizontal", usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, autoplay: true }, flow: { width: 240, height: 240, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 100, donotcrop: false, navheight: 16, random: false, showhoveroverlay: false, arrowheight: 60, itembackgroundimagewidth: 100, skin: "flow", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", navstyle: "none", enabletouchswipe: true, backgroundimagetop: -40, arrowstyle: "none", bottomshadowimagetop: 95, transitionduration: 1E3, lightboxshowtitle: true, hoveroverlayimage: "hoveroverlay-64-64-4.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", lightboxshowdescription: false, showitembottomshadow: false, showhoveroverlayalways: false, navimage: "bullet-16-16-1.png", lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", backgroundimagewidth: 110, playvideoimagepos: "center", circular: true, continuous: true, continuousduration: 4E3, rownumber: 1, arrowimage: "arrows-42-60-0.png", scrollitems: 1, showbottomshadow: false, lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, transitioneasing: "easeOutExpo", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 0, lightboxthumbwidth: 80, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, arrowwidth: 42, transparent: false, navmode: "page", lightboxthumbbottommargin: 8, interval: 3E3, lightboxthumbheight: 60, navspacing: 8, pauseonmouseover: true, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, direction: "horizontal", usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, autoplay: true, sameheight: true, sameheightresponsive: true, sameheightmediumscreen: 769, sameheightmediumheight: 180, sameheightsmallscreen: 415, sameheightsmallheight: 140 }, rotator: { width: 200, height: 200, skinsfoldername: "", interval: 3E3, itembottomshadowimagetop: 100, donotcrop: false, random: false, showhoveroverlay: true, arrowheight: 36, showbottomshadow: false, itembackgroundimagewidth: 100, skin: "Rotator", responsive: true, lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", enabletouchswipe: true, navstyle: "none", backgroundimagetop: -40, arrowstyle: "mouseover", bottomshadowimagetop: 100, transitionduration: 1E3, itembackgroundimagetop: 0, hoveroverlayimage: "hoveroverlay-64-64-9.png", itembottomshadowimage: "itembottomshadow-100-100-5.png", lightboxshowdescription: false, navswitchonmouseover: false, showhoveroverlayalways: false, transitioneasing: "easeOutExpo", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-36-36-1.png", scrollitems: 1, direction: "vertical", lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, navimage: "bullet-24-24-0.png", backgroundimagewidth: 110, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 8, lightboxthumbwidth: 80, navdirection: "vertical", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, autoplay: true, arrowwidth: 36, transparent: false, bottomshadowimage: "bottomshadow-110-100-5.png", scrollmode: "page", navmode: "page", lightboxshowtitle: true, lightboxthumbbottommargin: 8, arrowhideonmouseleave: 1E3, showitembottomshadow: false, lightboxthumbheight: 60, navspacing: 4, pauseonmouseover: true, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 2, usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 24, loop: 0, navheight: 24 }, testimonialcarousel: { width: 280, height: 240, skinsfoldername: "", interval: 3E3, itembottomshadowimagetop: 99, donotcrop: false, random: false, showhoveroverlay: false, arrowheight: 32, showbottomshadow: false, itembackgroundimagewidth: 100, skin: "TestimonialCarousel", responsive: true, lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "mouseover", bottomshadowimagetop: 95, transitionduration: 1E3, itembackgroundimagetop: 0, hoveroverlayimage: "hoveroverlay-64-64-9.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", lightboxshowdescription: false, navswitchonmouseover: false, showhoveroverlayalways: false, transitioneasing: "easeOutExpo", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", fixaspectratio: false, circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", scrollitems: 1, direction: "horizontal", lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, navimage: "bullet-16-16-1.png", backgroundimagewidth: 110, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 4, lightboxthumbwidth: 80, navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, autoplay: true, arrowwidth: 32, transparent: false, bottomshadowimage: "bottomshadow-110-95-0.png", scrollmode: "page", navmode: "page", lightboxshowtitle: true, lightboxthumbbottommargin: 8, arrowhideonmouseleave: 600, showitembottomshadow: false, lightboxthumbheight: 60, navspacing: 4, pauseonmouseover: false, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, navheight: 16 }, tworows: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 16, random: false, showbottomshadow: false, arrowheight: 48, itembackgroundimagewidth: 100, skin: "gallery", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 2, arrowimage: "arrows-48-48-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 48, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, transitionduration: 1E3 }, textonly: { width: 280, height: 240, skinsfoldername: "", interval: 3E3, itembottomshadowimagetop: 99, donotcrop: false, random: false, showhoveroverlay: false, arrowheight: 32, showbottomshadow: false, itembackgroundimagewidth: 100, skin: "TestimonialCarousel", responsive: true, lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", enabletouchswipe: true, navstyle: "bullets", backgroundimagetop: -40, arrowstyle: "mouseover", bottomshadowimagetop: 95, transitionduration: 1E3, itembackgroundimagetop: 0, hoveroverlayimage: "hoveroverlay-64-64-9.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", lightboxshowdescription: false, navswitchonmouseover: false, showhoveroverlayalways: false, transitioneasing: "easeOutExpo", lightboxshownavigation: false, lightboxnogroup: false, showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", scrollitems: 1, direction: "horizontal", lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", supportiframe: false, navimage: "bullet-16-16-1.png", backgroundimagewidth: 110, showbackgroundimage: false, lightboxbarheight: 64, showplayvideo: true, spacing: 4, lightboxthumbwidth: 80, navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", lightboxthumbtopmargin: 12, autoplay: true, arrowwidth: 32, transparent: false, bottomshadowimage: "bottomshadow-110-95-0.png", scrollmode: "page", navmode: "page", lightboxshowtitle: true, lightboxthumbbottommargin: 8, arrowhideonmouseleave: 600, showitembottomshadow: false, lightboxthumbheight: 60, navspacing: 4, pauseonmouseover: false, imagefillcolor: "FFFFFF", playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, usescreenquery: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 16, loop: 0, navheight: 16 }, numbering: { width: 240, height: 180, skinsfoldername: "", arrowhideonmouseleave: 1E3, itembottomshadowimagetop: 99, navheight: 24, random: false, showbottomshadow: false, arrowheight: 32, itembackgroundimagewidth: 100, skin: "numbering", responsive: true, bottomshadowimage: "bottomshadow-110-95-0.png", enabletouchswipe: true, navstyle: "numbering", backgroundimagetop: -40, arrowstyle: "always", bottomshadowimagetop: 95, hoveroverlayimage: "hoveroverlay-64-64-5.png", itembottomshadowimage: "itembottomshadow-100-98-3.png", showitembottomshadow: false, transitioneasing: "easeOutExpo", showitembackgroundimage: false, itembackgroundimage: "", playvideoimagepos: "center", circular: true, continuous: false, continuousduration: 2500, rownumber: 1, arrowimage: "arrows-32-32-2.png", direction: "horizontal", navimage: "bullet-16-16-0.png", itembackgroundimagetop: 0, showbackgroundimage: false, lightboxbarheight: 48, showplayvideo: true, spacing: 4, scrollitems: 1, showhoveroverlay: true, scrollmode: "page", navdirection: "horizontal", itembottomshadowimagewidth: 100, backgroundimage: "", autoplay: true, arrowwidth: 32, pauseonmouseover: true, navmode: "page", interval: 3E3, backgroundimagewidth: 110, navspacing: 8, playvideoimage: "playvideo-64-64-0.png", visibleitems: 3, navswitchonmouseover: false, bottomshadowimagewidth: 110, screenquery: '{\n\t"tablet": {\n\t\t"screenwidth": 800,\n\t\t"visibleitems": 2\n\t},\n\t"mobile": {\n\t\t"screenwidth": 480,\n\t\t"visibleitems": 1\n\t}\n}', navwidth: 24, loop: 0, transitionduration: 1E3 } }; // source --> https://moussaouiassurances.com/wp-content/plugins/FreemakeSliderPlugin/engine/fmcarousel.js (function($) { $.fn.wondercarousellightbox = function(options) { var inst = this; inst.options = $.extend({ freelink: "http://html5box.com/", defaultvideovolume: 1, autoclose: false, insideiframe: false, autoplay: true, loopvideo: false, html5player: true, responsive: true, nativehtml5controls: false, videohidecontrols: false, nativecontrolsonfirefox: true, nativecontrolsonie: true, imagekeepratio: true, useflashonie9: true, useflashonie10: true, useflashonie11: false, googleanalyticsaccount: "", arrowloop: true, shownavigation: true, thumbwidth: 96, thumbheight: 72, thumbgap: 4, thumbtopmargin: 12, thumbbottommargin: 12, thumbborder: 1, thumbbordercolor: "transparent", thumbhighlightbordercolor: "#fff", thumbopacity: 1, navbuttonwidth: 32, overlaybgcolor: "#000", overlayopacity: 0.9, bgcolor: "#fff", bordersize: 8, borderradius: 0, bordermargin: 16, bordertopmargin: 48, bordertopmarginsmall: 48, barautoheight: true, barheight: 64, responsivebarheight: false, smallscreenheight: 415, barheightonsmallheight: 64, notkeepratioonsmallheight: false, loadingwidth: 64, loadingheight: 64, resizespeed: 400, fadespeed: 400, jsfolder: "", skinsfoldername: "skins", loadingimage: "lightbox-loading.gif", nextimage: "lightbox-next.png", previmage: "lightbox-prev.png", closeimage: "lightbox-close.png", playvideoimage: "lightbox-playvideo.png", titlebgimage: "lightbox-titlebg.png", navarrowsprevimage: "lightbox-navprev.png", navarrowsnextimage: "lightbox-navnext.png", navarrowsalwaysshowontouch: true, navarrowsbottomscreenwidth: 479, closeonoverlay: true, alwaysshownavarrows: false, showplaybutton: true, playimage: "lightbox-play.png", pauseimage: "lightbox-pause.png", fullscreenmode: false, fullscreencloseimage: "lightbox-close-fullscreen.png", fullscreennextimage: "lightbox-next-fullscreen.png", fullscreenprevimage: "lightbox-prev-fullscreen.png", videobgcolor: "#000", html5videoposter: "", showtitle: true, titlestyle: "bottom", titleinsidecss: "color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;", titlebottomcss: "color:#333; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;", showdescription: true, descriptioninsidecss: "color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;", descriptionbottomcss: "color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;", showtitleprefix: true, titleprefix: "%NUM / %TOTAL", autoslide: false, slideinterval: 5E3, showtimer: true, timerposition: "bottom", timerheight: 2, timercolor: "#dc572e", timeropacity: 1, initvimeo: true, inityoutube: true, initsocial: true, showsocial: false, socialposition: "position:absolute;top:100%;right:0;", socialpositionsmallscreen: "position:absolute;top:100%;right:0;left:0;", socialdirection: "horizontal", socialbuttonsize: 32, socialbuttonfontsize: 18, socialrotateeffect: true, showfacebook: true, showtwitter: true, showpinterest: true, imagepercentage: 75, sidetobottomscreenwidth: 479, errorwidth: 280, errorheight: 48, errorcss: "text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;", enabletouchswipe: true, supportesckey: true, supportarrowkeys: true, version: "3.3", stamp: false, freemark: "72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110", watermark: "", watermarklink: "" }, options); if (typeof wondercarousellightbox_options != "undefined" && wondercarousellightbox_options) $.extend(inst.options, wondercarousellightbox_options); if ($("div#wondercarousellightbox_options").length) $.each($("div#wondercarousellightbox_options").data(), function(key, value) { inst.options[key.toLowerCase()] = value }); if ($("div#html5lightbox_general_options").length) $.each($("div#html5lightbox_general_options").data(), function(key, value) { inst.options[key.toLowerCase()] = value }); var DEFAULT_WIDTH = 960, DEFAULT_HEIGHT = 540; var ELEM_TYPE = 0, ELEM_HREF = 1, ELEM_TITLE = 2, ELEM_GROUP = 3, ELEM_WIDTH = 4, ELEM_HEIGHT = 5, ELEM_HREF_WEBM = 6, ELEM_HREF_OGG = 7, ELEM_THUMBNAIL = 8, ELEM_DESCRIPTION = 9, ELEM_DIV = 10; inst.options.types = ["IMAGE", "FLASH", "VIDEO", "YOUTUBE", "VIMEO", "PDF", "MP3", "WEB", "FLV", "DAILYMOTION", "DIV", "WISTIA"]; inst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf("/") + 1); inst.options.skinsfolder = inst.options.skinsfoldername; if (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != "/") inst.options.skinsfolder += "/"; if (inst.options.skinsfolder.charAt(0) != "/" && inst.options.skinsfolder.substring(0, 5) != "http:" && inst.options.skinsfolder.substring(0, 6) != "https:") inst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder; var i; var l; var mark = ""; var bytes = inst.options.freemark.split(","); for (i = 0; i < bytes.length; i++) mark += String.fromCharCode(bytes[i]); inst.options.freemark = mark; var d0 = "hmtamgli5cboxh.iclolms"; for (i = 1; i <= 5; i++) d0 = d0.slice(0, i) + d0.slice(i + 1); l = d0.length; for (i = 0; i < 5; i++) d0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i); if (inst.options.htmlfolder.indexOf(d0) != -1) inst.options.stamp = false; inst.options.flashInstalled = false; try { if (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) inst.options.flashInstalled = true } catch (e) { if (navigator.mimeTypes["application/x-shockwave-flash"]) inst.options.flashInstalled = true } inst.options.html5VideoSupported = !!document.createElement("video").canPlayType; inst.options.isChrome = navigator.userAgent.match(/Chrome/i) != null; inst.options.isFirefox = navigator.userAgent.match(/Firefox/i) != null; inst.options.isOpera = navigator.userAgent.match(/Opera/i) != null || navigator.userAgent.match(/OPR\//i) != null; inst.options.isSafari = navigator.userAgent.match(/Safari/i) != null; inst.options.isIE11 = navigator.userAgent.match(/Trident\/7/) != null && navigator.userAgent.match(/rv:11/) != null; inst.options.isIE = navigator.userAgent.match(/MSIE/i) != null && !inst.options.isOpera; inst.options.isIE10 = navigator.userAgent.match(/MSIE 10/i) != null && !this.options.isOpera; inst.options.isIE9 = navigator.userAgent.match(/MSIE 9/i) != null && !inst.options.isOpera; inst.options.isIE8 = navigator.userAgent.match(/MSIE 8/i) != null && !inst.options.isOpera; inst.options.isIE7 = navigator.userAgent.match(/MSIE 7/i) != null && !inst.options.isOpera; inst.options.isIE6 = navigator.userAgent.match(/MSIE 6/i) != null && !inst.options.isOpera; inst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8; inst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9; inst.options.isAndroid = navigator.userAgent.match(/Android/i) != null; inst.options.isIPad = navigator.userAgent.match(/iPad/i) != null; inst.options.isIPhone = navigator.userAgent.match(/iPod/i) != null || navigator.userAgent.match(/iPhone/i) != null; inst.options.isIOS = inst.options.isIPad || inst.options.isIPhone; inst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone; inst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(/OS 4/i) != null || navigator.userAgent.match(/OS 3/i) != null); inst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5; inst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != "CSS1Compat"; inst.options.isTouch = "ontouchstart" in window; if (inst.options.isMobile) inst.options.autoplay = false; if (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) inst.options.nativehtml5controls = true; if ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) inst.options.nativehtml5controls = true; inst.options.navheight = 0; inst.options.thumbgap += 2 * inst.options.thumbborder; inst.options.resizeTimeout = -1; inst.slideTimeout = null; inst.autosliding = false; inst.elemArray = new Array; inst.options.curElem = -1; inst.defaultoptions = $.extend({}, inst.options); if (inst.options.googleanalyticsaccount && !window._gaq) { window._gaq = window._gaq || []; window._gaq.push(["_setAccount", inst.options.googleanalyticsaccount]); window._gaq.push(["_trackPageview"]); $.getScript("https://ssl.google-analytics.com/ga.js") } if (inst.options.initvimeo) { var tag = document.createElement("script"); tag.src = inst.options.jsfolder + "froogaloop2.min.js"; var firstScriptTag = document.getElementsByTagName("script")[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag) } if (inst.options.inityoutube) { var tag = document.createElement("script"); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName("script")[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag) } if (inst.options.initsocial) $("head").append(''); inst.showing = false; inst.supportKeyboard = function() { $(document).keyup(function(e) { if (!inst.showing) return; if (inst.options.supportesckey && e.keyCode == 27) inst.finish(); else if (inst.options.supportarrowkeys) if (e.keyCode == 39) inst.gotoSlide(-1); else if (e.keyCode == 37) inst.gotoSlide(-2) }) }; inst.supportKeyboard(); inst.init = function() { inst.showing = false; inst.readData(); inst.createMarkup(); inst.initSlide() }; inst.readData = function() { inst.each(function() { if (this.nodeName.toLowerCase() != "a" && this.nodeName.toLowerCase() != "area") return; var $this = $(this); var fileType = "mediatype" in $this.data() ? $this.data("mediatype") : inst.checkType($this.attr("href")); if (fileType < 0) return; for (var i = 0; i < inst.elemArray.length; i++) if ($this.attr("href") == inst.elemArray[i][ELEM_HREF]) return; inst.elemArray.push(new Array(fileType, $this.attr("href"), $this.attr("title"), $this.data("group"), $this.data("width"), $this.data("height"), $this.data("webm"), $this.data("ogg"), $this.data("thumbnail"), $this.data("description"))) }) }; inst.createMarkup = function() { inst.options.barheightoriginal = inst.options.barheight; if (inst.options.responsivebarheight) { var winH = window.innerHeight ? window.innerHeight : $(window).height(); if (winH <= inst.options.smallscreenheight) inst.options.barheight = inst.options.barheightonsmallheight } if (!inst.options.titlecss) inst.options.titlecss = inst.options.titlestyle == "inside" ? inst.options.titleinsidecss : inst.options.titlebottomcss; if (!inst.options.descriptioncss) inst.options.descriptioncss = inst.options.titlestyle == "inside" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss; inst.options.titlecss = $.trim(inst.options.titlecss); if (inst.options.titlecss.length > 1) { if (inst.options.titlecss.charAt(0) == "{") inst.options.titlecss = inst.options.titlecss.substring(1); if (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == "}") inst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1) } inst.options.descriptioncss = $.trim(inst.options.descriptioncss); if (inst.options.descriptioncss.length > 1) { if (inst.options.descriptioncss.charAt(0) == "{") inst.options.descriptioncss = inst.options.descriptioncss.substring(1); if (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == "}") inst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1) } inst.options.errorcss = $.trim(inst.options.errorcss); if (inst.options.errorcss.length > 1) { if (inst.options.errorcss.charAt(0) == "{") inst.options.errorcss = inst.options.errorcss.substring(1); if (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == "}") inst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1) } var styleCss = ".html5-hide {display:none !important;} #carousel-html5-lightbox #html5-text {" + inst.options.titlecss + "}"; styleCss += "#carousel-html5-lightbox .html5-description {" + inst.options.descriptioncss + "}"; styleCss += "#carousel-html5-lightbox .html5-error {" + inst.options.errorcss + "}"; if (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) { styleCss += "#carousel-html5-lightbox .html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #carousel-html5-lightbox .html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}"; styleCss += "@media (max-width: " + inst.options.navarrowsbottomscreenwidth + "px) { #carousel-html5-lightbox .html5-prev-touch {top:100%;left:0;margin:0;} #carousel-html5-lightbox .html5-next-touch {top:100%;right:0;margin:0;} }" } styleCss += "#carousel-html5-lightbox .html5-prev-fullscreen {display:block;} #carousel-html5-lightbox .html5-next-fullscreen {display:block;} #carousel-html5-lightbox .html5-prev-bottom-fullscreen {display:none;} #carousel-html5-lightbox .html5-next-bottom-fullscreen {display:none;}"; styleCss += "@media (max-width: " + inst.options.navarrowsbottomscreenwidth + "px) {#carousel-html5-lightbox .html5-prev-fullscreen {display:none;} #carousel-html5-lightbox .html5-next-fullscreen {display:none;} #carousel-html5-lightbox .html5-prev-bottom-fullscreen {display:block;} #carousel-html5-lightbox .html5-next-bottom-fullscreen {display:block;} }"; if (inst.options.titlestyle == "right") { styleCss += "#carousel-html5-lightbox #html5-elem-wrap {width:" + inst.options.imagepercentage + "%;height:100%;} #carousel-html5-lightbox #html5-elem-data-box {min-height:100%;}"; styleCss += "@media (max-width: " + inst.options.sidetobottomscreenwidth + "px) {#carousel-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #carousel-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}" } else if (inst.options.titlestyle == "left") { styleCss += "#carousel-html5-lightbox #html5-elem-wrap {height:100%;} #carousel-html5-lightbox #html5-elem-data-box {width:" + String(100 - inst.options.imagepercentage) + "%;min-height:100%;}"; styleCss += "@media (max-width: " + inst.options.sidetobottomscreenwidth + "px) {#carousel-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #carousel-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}" } styleCss += ".html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }"; styleCss += "@media (max-width: " + inst.options.navarrowsbottomscreenwidth + "px) {#html5-social {" + inst.options.socialpositionsmallscreen + "}}"; $("head").append(""); inst.$lightbox = $(""); inst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode; inst.$lightbox.css({ position: inst.options.positionFixed ? "fixed" : "absolute" }); inst.$lightbox.appendTo("body"); inst.$lightboxBox = $("#html5-lightbox-box", inst.$lightbox); inst.$elem = $("#html5-elem-box", inst.$lightbox); inst.$elemWrap = $("#html5-elem-wrap", inst.$lightbox); inst.$loading = $("#html5-loading", inst.$lightbox); inst.$error = $("#html5-error", inst.$lightbox); inst.$image = $("#html5-image", inst.$lightbox); var elemText = ""; if (inst.options.titlestyle == "left") inst.$elem.prepend(elemText); else inst.$elem.append(elemText); inst.$elemData = $("#html5-elem-data-box", inst.$lightbox); inst.$text = $("#html5-text", inst.$lightbox); if (inst.options.borderradius > 0) { inst.$elem.css({ "border-radius": inst.options.borderradius + "px", "-moz-border-radius": inst.options.borderradius + "px", "-webkit-border-radius": inst.options.borderradius + "px" }); if (inst.options.titlestyle == "inside") inst.$elemWrap.css({ "border-radius": inst.options.borderradius + "px", "-moz-border-radius": inst.options.borderradius + "px", "-webkit-border-radius": inst.options.borderradius + "px" }); else if (inst.options.titlestyle == "bottom") { inst.$elemWrap.css({ "border-top-left-radius": inst.options.borderradius + "px", "-moz-top-left-border-radius": inst.options.borderradius + "px", "-webkit-top-left-border-radius": inst.options.borderradius + "px", "border-top-right-radius": inst.options.borderradius + "px", "-moz-top-right-border-radius": inst.options.borderradius + "px", "-webkit-top-right-border-radius": inst.options.borderradius + "px" }); inst.$elemData.css({ "border-bottom-left-radius": inst.options.borderradius + "px", "-moz-top-bottom-border-radius": inst.options.borderradius + "px", "-webkit-bottom-left-border-radius": inst.options.borderradius + "px", "border-bottom-right-radius": inst.options.borderradius + "px", "-moz-bottom-right-border-radius": inst.options.borderradius + "px", "-webkit-bottom-right-border-radius": inst.options.borderradius + "px" }) } } if (inst.options.titlestyle == "right" || inst.options.titlestyle == "left") { inst.$lightboxBox.css({ "background-color": inst.options.bgcolor }); if (inst.options.titlestyle == "right") { inst.$elemWrap.css({ position: "relative", "float": "left" }); inst.$elemData.css({ position: "relative", overflow: "hidden", padding: inst.options.bordersize + "px" }) } else { inst.$elemWrap.css({ position: "relative", overflow: "hidden" }); inst.$elemData.css({ position: "relative", "float": "left", padding: inst.options.bordersize + "px" }) } } else if (inst.options.titlestyle == "inside") { inst.$elemData.css({ position: "absolute", margin: inst.options.bordersize + "px", bottom: 0, left: 0, //"background-color": "#333", "background-color": "#fff" //"background-color": "rgba(51, 51, 51, 0.6)" }); inst.$text.css({ padding: inst.options.bordersize + "px " + 2 * inst.options.bordersize + "px" }) } else { inst.$elemData.css({ position: "relative", width: "100%", height: inst.options.barautoheight ? "auto" : inst.options.barheight + "px", "padding": "0 0 " + inst.options.bordersize + "px" + " 0", "background-color": inst.options.bgcolor, "text-align": "left" }); inst.$text.css({ "margin": "0 " + inst.options.bordersize + "px" }) } if (inst.options.showsocial) { var socialCode = ''; inst.$lightboxBox.append(socialCode); $(".html5-social-btn", inst.$lightbox).click(function() { var shareUrl = window.location.href + (window.location.href.indexOf("?") < 0 ? "?" : "&") + "wpcarousellightboxshare=" + encodeURIComponent(inst.currentElem[ELEM_HREF]); var shareTitle = inst.currentElem[ELEM_TITLE]; var shareMedia = inst.currentElem[ELEM_HREF]; if (inst.currentElem[ELEM_TYPE] == 0) shareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]); else if (inst.currentElem[ELEM_TYPE] == 3) shareMedia = "https://img.youtube.com/vi/" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + "/0.jpg"; else { var lightboxLink = $('.wondercarousellightbox[href="' + inst.currentElem[ELEM_HREF] + '"]'); if (lightboxLink.length > 0) if (lightboxLink.data("shareimage") && lightboxLink.data("shareimage").length > 0) shareMedia = inst.absoluteUrl(lightboxLink.data("shareimage")); else if (lightboxLink.data("thumbnail") && lightboxLink.data("thumbnail").length > 0) shareMedia = inst.absoluteUrl(lightboxLink.data("thumbnail")); else { var lightboxImg = $("img", lightboxLink); if (lightboxImg.length > 0) shareMedia = inst.absoluteUrl(lightboxImg.attr("src")) } } var isVideo = inst.currentElem[ELEM_TYPE] == 2 || inst.currentElem[ELEM_TYPE] == 3 || inst.currentElem[ELEM_TYPE] == 4 || inst.currentElem[ELEM_TYPE] == 8 || inst.currentElem[ELEM_TYPE] == 9 || inst.currentElem[ELEM_TYPE] == 11; if ($(this).hasClass("html5-social-facebook")) window.open("https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(shareUrl) + "&t=" + encodeURIComponent(shareTitle), "_blank"); else if ($(this).hasClass("html5-social-twitter")) window.open("https://twitter.com/share?url=" + encodeURIComponent(shareUrl) + "&text=" + encodeURIComponent(shareTitle), "_blank"); else if ($(this).hasClass("html5-social-pinterest")) window.open("https://pinterest.com/pin/create/bookmarklet/?media=" + encodeURIComponent(shareMedia) + "&url=" + encodeURIComponent(shareUrl) + "&description=" + encodeURIComponent(shareTitle) + "&is_video=" + (isVideo ? "true" : "false"), "_blank"); return false }) } if (inst.options.fullscreenmode) { inst.$lightbox.append("
" + "
"); inst.$next = $(".html5-next-fullscreen", inst.$lightbox); inst.$prev = $(".html5-prev-fullscreen", inst.$lightbox); inst.$lightboxBox.append("
" + "
"); inst.$nextbottom = $(".html5-next-bottom-fullscreen", inst.$lightbox); inst.$prevbottom = $(".html5-prev-bottom-fullscreen", inst.$lightbox); inst.$nextbottom.click(function() { inst.nextArrowClicked() }); inst.$prevbottom.click(function() { inst.prevArrowClicked() }); inst.$lightbox.append("
"); inst.$close = $("#html5-close-fullscreen", inst.$lightbox) } else { inst.$elemWrap.append("" + ""); inst.$next = $("#html5-next", inst.$lightbox); inst.$prev = $("#html5-prev", inst.$lightbox); if (inst.options.isTouch && inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) { inst.$lightboxBox.append("
" + "
"); inst.$nexttouch = $(".html5-next-touch", inst.$lightbox); inst.$prevtouch = $(".html5-prev-touch", inst.$lightbox); inst.$nexttouch.click(function() { inst.nextArrowClicked() }); inst.$prevtouch.click(function() { inst.prevArrowClicked() }) } inst.$lightboxBox.append(""); inst.$close = $("#html5-close", inst.$lightbox) } inst.$watermark = $("#html5-watermark", inst.$lightbox); if (inst.options.stamp) inst.$watermark.html("
" + inst.options.freemark + "
"); else if (inst.options.watermark) { var html = ""; if (inst.options.watermarklink) html = "" + html + ""; inst.$watermark.html(html) } if (inst.options.closeonoverlay) $("#html5-lightbox-overlay", inst.$lightbox).click(inst.finish); inst.$close.click(inst.finish); inst.$next.click(function() { inst.nextArrowClicked() }); inst.$prev.click(function() { inst.prevArrowClicked() }); $(window).resize(function() { clearTimeout(inst.options.resizeTimeout); inst.options.resizeTimeout = setTimeout(function() { inst.resizeWindow() }, 500) }); $(window).scroll(function() { inst.scrollBox() }); $(window).bind("orientationchange", function(e) { if (inst.options.isMobile) inst.resizeWindow() }); if (inst.options.isIPhone) { inst.options.windowInnerHeight = window.innerHeight; setInterval(function() { if (inst.options.windowInnerHeight != window.innerHeight) { inst.options.windowInnerHeight = window.innerHeight; inst.resizeWindow() } }, 500) } if (inst.options.enabletouchswipe) inst.enableSwipe(); }; inst.slideTimer = function(interval, callback, updatecallback) { var timerInstance = this; timerInstance.timeout = interval; var updateinterval = 50; var updateTimerId = null; var runningTime = 0; var paused = false; var started = false; var startedandpaused = false; this.pause = function() { if (started) { paused = true; clearInterval(updateTimerId) } }; this.resume = function(forceresume) { if (startedandpaused && !forceresume) return; startedandpaused = false; if (started && paused) { paused = false; updateTimerId = setInterval(function() { runningTime += updateinterval; if (runningTime > timerInstance.timeout) { clearInterval(updateTimerId); if (callback) callback() } if (updatecallback) updatecallback(runningTime / timerInstance.timeout) }, updateinterval) } }; this.stop = function() { clearInterval(updateTimerId); if (updatecallback) updatecallback(-1); runningTime = 0; paused = false; started = false }; this.start = function() { runningTime = 0; paused = false; started = true; updateTimerId = setInterval(function() { runningTime += updateinterval; if (runningTime > timerInstance.timeout) { clearInterval(updateTimerId); if (callback) callback() } if (updatecallback) updatecallback(runningTime / timerInstance.timeout) }, updateinterval) }; this.startandpause = function() { runningTime = 0; paused = true; started = true; startedandpaused = true }; return this }; inst.updateTimer = function(percent) { var w = Math.round(percent * 100); if (w > 100) w = 100; if (w < 0) w = 0; $("#html5-timer", inst.$lightbox).css({ display: "block", width: w + "%" }) }; inst.initSlide = function() { inst.autosliding = false; inst.slideTimeout = inst.slideTimer(inst.options.slideinterval, function() { inst.gotoSlide(-1) }, inst.options.showtimer ? function(percent) { inst.updateTimer(percent) } : null); if (inst.options.autoslide) { inst.slideTimeout.stop(); inst.autosliding = true } }; inst.nextArrowClicked = function() { if (inst.options.nextElem <= inst.options.curElem) if (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == "function") window[inst.options.onlastarrowclicked](); inst.gotoSlide(-1) }; inst.prevArrowClicked = function() { if (inst.options.prevElem >= inst.options.curElem) if (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == "function") window[inst.options.onfirstarrowclicked](); inst.gotoSlide(-2) }; inst.calcNextPrevElem = function() { inst.options.nextElem = -1; inst.options.prevElem = -1; inst.options.inGroup = false; inst.options.groupIndex = 0; inst.options.groupCount = 0; var group = inst.elemArray[inst.options.curElem][ELEM_GROUP]; for (var i = 0; i < inst.elemArray.length; i++) if (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) { if (i == inst.options.curElem) inst.options.groupIndex = inst.options.groupCount; inst.options.groupCount++ } var j, curGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP]; if (curGroup != undefined && curGroup != null) { for (j = inst.options.curElem + 1; j < inst.elemArray.length; j++) if (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) { inst.options.nextElem = j; break } if (inst.options.nextElem < 0) for (j = 0; j < inst.options.curElem; j++) if (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) { inst.options.nextElem = j; break } if (inst.options.nextElem >= 0) { for (j = inst.options.curElem - 1; j >= 0; j--) if (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) { inst.options.prevElem = j; break } if (inst.options.prevElem < 0) for (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) if (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) { inst.options.prevElem = j; break } } } if (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) inst.options.inGroup = true }; inst.calcBoxPosition = function(initW, initH) { var boxW = initW + 2 * inst.options.bordersize; var boxH = initH + 2 * inst.options.bordersize; var winH = window.innerHeight ? window.innerHeight : $(window).height(); var boxT = Math.round((winH - inst.options.navheight) / 2 - boxH / 2); if (inst.options.titlestyle == "bottom") boxT -= Math.round(inst.options.barheight / 2); var topmargin = $(window).width() < inst.options.navarrowsbottomscreenwidth ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin; if (boxT < topmargin) boxT = topmargin; if (inst.options.insideiframe && window.self != window.top) if (parent.window.jQuery && parent.window.jQuery("#" + inst.options.iframeid).length) { var iframetop = parent.window.jQuery("#" + inst.options.iframeid).offset().top; var parentscroll = parent.window.document.body.scrollTop; boxT = topmargin; boxT += parentscroll > iframetop ? parentscroll - iframetop : 0 } return [boxW, boxH, boxT] }; inst.hideNavArrows = function() { var showPrev = false; var showNext = false; if (inst.options.inGroup) { if (inst.options.arrowloop || !inst.options.arrowloop && inst.options.prevElem < inst.options.curElem) showPrev = true; if (inst.options.arrowloop || !inst.options.arrowloop && inst.options.prevElem < inst.options.curElem) showNext = true } if (showPrev) { inst.$prev.removeClass("html5-hide"); if (inst.$prevbottom) inst.$prevbottom.removeClass("html5-hide"); if (inst.$prevtouch) inst.$prevtouch.removeClass("html5-hide") } else { inst.$prev.addClass("html5-hide"); if (inst.$prevbottom) inst.$prevbottom.addClass("html5-hide"); if (inst.$prevtouch) inst.$prevtouch.addClass("html5-hide") } if (showNext) { inst.$next.removeClass("html5-hide"); if (inst.$nextbottom) inst.$nextbottom.removeClass("html5-hide"); if (inst.$nexttouch) inst.$nexttouch.removeClass("html5-hide") } else { inst.$next.addClass("html5-hide"); if (inst.$nextbottom) inst.$nextbottom.addClass("html5-hide"); if (inst.$nexttouch) inst.$nexttouch.addClass("html5-hide") } }; inst.clickHandler = function() { var $this = $(this); var dataoptions = {}; $.each($this.data(), function(key, value) { dataoptions[key.toLowerCase()] = value }); inst.options = $.extend(inst.options, inst.defaultoptions, dataoptions); $(window).trigger("html5lightbox.lightboxshow"); inst.init(); if (inst.elemArray.length <= 0) return true; inst.hideObjects(); for (var i = 0; i < inst.elemArray.length; i++) if (inst.elemArray[i][ELEM_HREF] == $this.attr("href")) break; if (i == inst.elemArray.length) return true; inst.options.curElem = i; inst.calcNextPrevElem(); inst.reset(); inst.$lightbox.show(); var boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight); var boxW = boxPos[0]; var boxH = boxPos[1]; var boxT = boxPos[2]; if (inst.options.iequirksmode) inst.$lightboxBox.css({ "top": boxT }); else inst.$lightboxBox.css({ "margin-top": boxT }); if (!inst.options.positionFixed) inst.$lightboxBox.css("margin-top", $(window).scrollTop() + inst.options.bordertopmargin); if (inst.options.titlestyle == "left" || inst.options.titlestyle == "right") inst.$lightboxBox.css({ "width": boxW, "height": boxH }); else { inst.$lightboxBox.css({ "width": boxW, "height": "auto" }); inst.$elemWrap.css({ "width": boxW, "height": boxH }) } inst.loadCurElem(); return false }; inst.loadThumbnail = function(src, index) { var imgLoader = new Image; $(imgLoader).load(function() { var style; if (this.width / this.height <= inst.options.thumbwidth / inst.options.thumbheight) style = "width:100%;"; else style = "height:100%;"; $(".html5-nav-thumb").eq(index).html("") }); imgLoader.src = src }; inst.matchGroup = function(curGroup, elemGroup) { if (!curGroup || !elemGroup) return false; var curs = curGroup.split(":"); var elems = elemGroup.split(":"); var result = false; for (var i in curs) if ($.inArray(curs[i], elems) > -1) { result = true; break } return result }; inst.showNavigation = function() { if (!inst.options.shownavigation) return; if (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) return; var i; var showNav = false; var group = inst.currentElem[ELEM_GROUP]; for (i = 0; i < inst.elemArray.length; i++) if (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) if (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) { showNav = true; break } if (!showNav) return; inst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin; if ($(".html5-nav").length > 0) return; $("body").append("
" + "
" + "
" + "
" + "
" + "
" + "
" + "
" + "
"); var index = 0; for (i = 0; i < inst.elemArray.length; i++) if (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) if (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) { $(".html5-nav-list").append("
"); this.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index); index++ } $(".html5-nav-thumb").hover(function() { $(this).css({ opacity: 1 }); $(this).css({ border: inst.options.thumbborder + "px solid " + inst.options.thumbhighlightbordercolor }) }, function() { $(this).css({ opacity: inst.options.thumbopacity }); $(this).css({ border: inst.options.thumbborder + "px solid " + inst.options.thumbbordercolor }) }); $(".html5-nav-thumb").click(function() { var index = $(this).data("arrayindex"); if (index >= 0) inst.gotoSlide(index) }); inst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder); $(".html5-nav-list").css({ display: "block", position: "relative", "margin-left": 0, width: inst.options.totalwidth + "px" }).append("
"); var $navMask = $(".html5-nav-mask"); var $navPrev = $(".html5-nav-prev"); var $navNext = $(".html5-nav-next"); $navPrev.click(function() { var $navList = $(".html5-nav-list"); var $navNext = $(".html5-nav-next"); var winWidth = $(window).width(); var maskWidth = winWidth - 2 * inst.options.navbuttonwidth; var marginLeft = parseInt($navList.css("margin-left")) + maskWidth; if (marginLeft >= 0) { marginLeft = 0; $(this).css({ "background-position": "center left" }) } else $(this).css({ "background-position": "center right" }); if (marginLeft <= maskWidth - inst.options.totalwidth) $navNext.css({ "background-position": "center left" }); else $navNext.css({ "background-position": "center right" }); $navList.animate({ "margin-left": marginLeft }) }); $navNext.click(function() { var $navList = $(".html5-nav-list"); var $navPrev = $(".html5-nav-prev"); var winWidth = $(window).width(); var maskWidth = winWidth - 2 * inst.options.navbuttonwidth; var marginLeft = parseInt($navList.css("margin-left")) - maskWidth; if (marginLeft <= maskWidth - inst.options.totalwidth) { marginLeft = maskWidth - inst.options.totalwidth; $(this).css({ "background-position": "center left" }) } else $(this).css({ "background-position": "center right" }); if (marginLeft >= 0) $navPrev.css({ "background-position": "center left" }); else $navPrev.css({ "background-position": "center right" }); $navList.animate({ "margin-left": marginLeft }) }); var winWidth = $(window).width(); if (inst.options.totalwidth <= winWidth) { $navMask.css({ width: inst.options.totalwidth + "px" }); $navPrev.hide(); $navNext.hide() } else { $navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + "px" }); $navPrev.show(); $navNext.show() } }; inst.loadElem = function(elem) { inst.currentElem = elem; inst.showing = true; inst.showNavigation(); inst.$elem.unbind("mouseenter").unbind("mouseleave").unbind("mousemove"); inst.$loading.show(); if (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == "function") window[inst.options.onshowitem](elem); switch (elem[ELEM_TYPE]) { case 0: var imgLoader = new Image; $(imgLoader).load(function() { inst.showImage(elem, imgLoader.width, imgLoader.height) }); $(imgLoader).error(function() { inst.showError() }); imgLoader.src = elem[ELEM_HREF]; break; case 1: inst.showSWF(elem); break; case 2: case 8: inst.showVideo(elem); break; case 3: case 4: case 9: case 11: inst.showYoutubeVimeo(elem); break; case 5: inst.showPDF(elem); break; case 6: inst.showMP3(elem); break; case 7: inst.showWeb(elem); break; case 10: inst.showDiv(elem); break } if (inst.options.googleanalyticsaccount && window._gaq) window._gaq.push(["_trackEvent", "Lightbox", "Open", elem[ELEM_HREF]]) }; inst.loadCurElem = function() { inst.loadElem(inst.elemArray[inst.options.curElem]) }; inst.showError = function() { inst.$loading.hide(); inst.resizeLightbox(inst.options.errorwidth, inst.options.errorheight, true, function() { inst.$error.show(); inst.$elem.fadeIn(inst.options.fadespeed, function() { inst.showData() }) }) }; inst.calcTextWidth = function(objW) { return objW - 36 }; inst.showTitle = function(w, t, description) { if (inst.options.titlestyle == "inside") inst.$elemData.css({ width: w + "px" }); var text = ""; if (inst.options.showtitle) if (t && t.length > 0) text += t; if (inst.options.inGroup) { if (inst.options.showtitleprefix) text = inst.options.titleprefix.replace("%NUM", inst.options.groupIndex + 1).replace("%TOTAL", inst.options.groupCount) + " " + text; if (inst.options.showplaybutton) text = "
" + text } if (inst.options.showdescription && description && description.length > 0) text += '

' + description + "

"; inst.$text.html(text); if (inst.options.inGroup && inst.options.showplaybutton) { if (inst.autosliding) { $("#html5-play", inst.$lightbox).hide(); $("#html5-pause", inst.$lightbox).show() } else { $("#html5-play", inst.$lightbox).show(); $("#html5-pause", inst.$lightbox).hide() } $("#html5-play", inst.$lightbox).click(function() { $("#html5-play", inst.$lightbox).hide(); $("#html5-pause", inst.$lightbox).show(); if (inst.slideTimeout) { inst.slideTimeout.stop(); inst.slideTimeout.start(); inst.autosliding = true } }); $("#html5-pause", inst.$lightbox).click(function() { $("#html5-play", inst.$lightbox).show(); $("#html5-pause", inst.$lightbox).hide(); if (inst.slideTimeout) { inst.slideTimeout.stop(); inst.autosliding = false } }) } $("#html5-social", inst.$lightbox).show() }, inst.showImage = function(elem, imgW, imgH) { var elemW, elemH; if (elem[ELEM_WIDTH]) elemW = elem[ELEM_WIDTH]; else { elemW = imgW; elem[ELEM_WIDTH] = imgW } if (elem[ELEM_HEIGHT]) elemH = elem[ELEM_HEIGHT]; else { elemH = imgH; elem[ELEM_HEIGHT] = imgH } var sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio); inst.resizeLightbox(sizeObj.w, sizeObj.h, true, function() { inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); var timercode = !inst.options.showtimer || !inst.options.inGroup ? "" : ""; inst.$image.show(); inst.$image.html("
" + timercode + "
"); inst.$elem.fadeIn(inst.options.fadespeed, function() { inst.showData() }); if (inst.autosliding) { inst.slideTimeout.stop(); inst.slideTimeout.start() } }) }; inst.showSWF = function(elem) { var dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH; var dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT; var sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true); dataW = sizeObj.w; dataH = sizeObj.h; inst.resizeLightbox(dataW, dataH, true, function() { inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); inst.$image.html("
").show(); inst.embedFlash($("#html5lightbox-swf"), elem[ELEM_HREF], "window", { width: dataW, height: dataH }); inst.$elem.show(); inst.showData(); if (inst.autosliding) { inst.slideTimeout.stop(); inst.slideTimeout.start() } }) }; inst.showVideo = function(elem) { inst.slideTimeout.stop(); var dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH; var dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT; var sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true); dataW = sizeObj.w; dataH = sizeObj.h; inst.resizeLightbox(dataW, dataH, true, function() { inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); inst.$image.html("
").show(); var isHTML5 = false; if (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || inst.options.isIE9 && inst.options.useflashonie9 || inst.options.isIE10 && inst.options.useflashonie10 || inst.options.isIE11 && inst.options.useflashonie11) isHTML5 = false; else if (inst.options.isMobile) isHTML5 = true; else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) if (!inst.options.isFirefox && !inst.options.isOpera || (inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM])) isHTML5 = true; if (isHTML5) { var videoSrc = elem[ELEM_HREF]; if (inst.options.isFirefox || inst.options.isOpera || !videoSrc) videoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG]; inst.embedHTML5Video($("#html5lightbox-video"), videoSrc, inst.options.autoplay, inst.options.loopvideo) } else { var videoFile = elem[ELEM_HREF]; if (videoFile.charAt(0) != "/" && videoFile.substring(0, 5) != "http:" && videoFile.substring(0, 6) != "https:") videoFile = inst.options.htmlfolder + videoFile; inst.embedFlash($("#html5lightbox-video"), inst.options.jsfolder + "html5boxplayer.swf", "transparent", { width: dataW, height: dataH, jsobjectname: "html5Lightbox", hidecontrols: inst.options.videohidecontrols ? "1" : "0", hideplaybutton: "0", videofile: videoFile, hdfile: "", ishd: "0", defaultvolume: inst.options.defaultvideovolume, autoplay: inst.options.autoplay ? "1" : "0", loop: inst.options.loopvideo ? "1" : "0", errorcss: ".html5box-error" + inst.options.errorcss, id: 0 }) } inst.$elem.show(); inst.showData() }) }; inst.loadNext = function() { $(window).trigger("html5lightbox.videofinished"); if (inst.autosliding) inst.gotoSlide(-1); else if (inst.options.autoclose) inst.finish() }; inst.getYoutubeParams = function(href) { var result = {}; if (href.indexOf("?") < 0) return result; var params = href.substring(href.indexOf("?") + 1).split("&"); for (var i = 0; i < params.length; i++) { var value = params[i].split("="); if (value && value.length == 2 && value[0].toLowerCase() != "v") result[value[0].toLowerCase()] = value[1] } return result }; inst.getYoutubeId = function(href) { var youtubeId = ""; var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\??v?=?))([^#\&\?]*).*/; var match = href.match(regExp); if (match && match[7] && match[7].length == 11) youtubeId = match[7]; return youtubeId }; inst.prepareYoutubeHref = function(href) { var youtubeId = inst.getYoutubeId(href); var protocol = "https:"; var result = protocol + "//www.youtube.com/embed/" + youtubeId; var params = this.getYoutubeParams(href); var first = true; for (var key in params) { if (first) { result += "?"; first = false } else result += "&"; result += key + "=" + params[key] } return result }; inst.prepareDailymotionHref = function(href) { if (href.match(/\:\/\/.*(dai\.ly)/i)) { var protocol = "https:"; var id = href.match(/(dai\.ly\/)([a-zA-Z0-9\-\_]+)/)[2]; href = protocol + "//www.dailymotion.com/embed/video/" + id } return href }; inst.showYoutubeVimeo = function(elem) { inst.slideTimeout.stop(); var dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH; var dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT; var sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true); dataW = sizeObj.w; dataH = sizeObj.h; inst.resizeLightbox(dataW, dataH, true, function() { inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); inst.$image.html("
").show(); var href = elem[ELEM_HREF]; var youtubeid = ""; if (elem[ELEM_TYPE] == 3) { youtubeid = inst.getYoutubeId(href); href = inst.prepareYoutubeHref(href) } if (elem[ELEM_TYPE] == 9) href = inst.prepareDailymotionHref(href); if (inst.options.autoplay) { href += href.indexOf("?") < 0 ? "?" : "&"; if (elem[ELEM_TYPE] == 11) href += "autoPlay=true"; else href += "autoplay=1" } if (inst.options.loopvideo) { href += href.indexOf("?") < 0 ? "?" : "&"; switch (elem[ELEM_TYPE]) { case 3: href += "loop=1&playlist=" + youtubeid; break; case 4: case 9: href += "loop=1"; break; case 11: href += "endVideoBehavior=loop"; break } } if (elem[ELEM_TYPE] == 3) { if (href.indexOf("?") < 0) href += "?wmode=transparent&rel=0"; else href += "&wmode=transparent&rel=0"; if (inst.options.videohidecontrols) href += "&controls=0&showinfo=0"; href += "&enablejsapi=1&origin=" + document.location.protocol + "//" + document.location.hostname } else if (elem[ELEM_TYPE] == 4) { href += href.indexOf("?") < 0 ? "?" : "&"; href += "api=1&player_id=html5boxiframevideo" } $("#html5lightbox-video").html(""); inst.$elem.show(); inst.showData(); if (elem[ELEM_TYPE] == 3 && typeof YT === "object" && typeof YT.Player === "function") new YT.Player("html5boxiframevideo", { events: { "onStateChange": function(event) { if (event.data == YT.PlayerState.ENDED) { $(window).trigger("html5lightbox.videofinished"); if (inst.autosliding) inst.gotoSlide(-1); else if (inst.options.autoclose) inst.finish() } } } }); else if (elem[ELEM_TYPE] == 4 && typeof $f === "function") { var vimeoIframe = $("#html5boxiframevideo")[0]; var vimeoPlayer = $f(vimeoIframe); vimeoPlayer.addEvent("ready", function() { vimeoPlayer.addEvent("finish", function(id) { $(window).trigger("html5lightbox.videofinished"); if (inst.autosliding) inst.gotoSlide(-1); else if (inst.options.autoclose) inst.finish() }) }) } }) }; inst.showPDF = function(elem) {}; inst.showMP3 = function(elem) {}; inst.showDiv = function(elem) { var winWidth = $(window).width(); var winH = window.innerHeight ? window.innerHeight : $(window).height(); var dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth; var dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight; var sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false); dataW = sizeObj.w; dataH = sizeObj.h; inst.resizeLightbox(dataW, dataH, true, function() { inst.$loading.hide(); inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); inst.$image.html("
").show(); var divID = elem[ELEM_HREF]; if ($(divID).length > 0) $("#html5lightbox-div").html($(divID).html()); else $("#html5lightbox-div").html("
The specified div ID does not exist.
"); inst.$elem.show(); inst.showData(); if (inst.autosliding) { inst.slideTimeout.stop(); inst.slideTimeout.start() } }) }; inst.showWeb = function(elem) { var winWidth = $(window).width(); var winH = window.innerHeight ? window.innerHeight : $(window).height(); var dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth; var dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight; var sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false); dataW = sizeObj.w; dataH = sizeObj.h; inst.resizeLightbox(dataW, dataH, true, function() { inst.$loading.hide(); inst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]); inst.$image.html("
").show(); $("#html5lightbox-web").html(""); inst.$elem.show(); inst.showData(); if (inst.autosliding) { inst.slideTimeout.stop(); inst.slideTimeout.start() } }) }; inst.scrollBox = function() {}; inst.resizeWindow = function() { if (!inst.currentElem) return; if (!inst.options.responsive) return; var winWidth = $(window).width(); var winH = window.innerHeight ? window.innerHeight : $(window).height(); if (inst.options.responsivebarheight) { if (winH <= inst.options.smallscreenheight) inst.options.barheight = inst.options.barheightonsmallheight; else inst.options.barheight = inst.options.barheightoriginal; if (inst.options.titlestyle == "bottom" && inst.options.barautoheight != "auto") inst.$elemData.css({ height: inst.options.barheight + "px", "max-height": inst.options.barheight + "px" }) } var elemW, elemH, keepratio; if (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) { elemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth; elemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight; keepratio = false } else { elemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH; elemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT; if (inst.currentElem[ELEM_TYPE] == 0) keepratio = inst.options.imagekeepratio; else keepratio = true } var sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio); var boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h); var boxW = boxPos[0]; var boxH = boxPos[1]; var boxT = boxPos[2]; inst.$lightboxBox.css({ "margin-top": boxT }); if (!inst.options.positionFixed) inst.$lightboxBox.css("margin-top", $(window).scrollTop() + inst.options.bordertopmargin); if (inst.options.titlestyle == "left" || inst.options.titlestyle == "right") inst.$lightboxBox.css({ "width": boxW, "height": boxH }); else { inst.$lightboxBox.css({ "width": boxW, "height": "auto" }); inst.$elemWrap.css({ "width": boxW, "height": boxH }) } if (inst.options.titlestyle == "inside") inst.$elemData.css({ width: sizeObj.w + "px" }); if ($(".html5-nav").length <= 0) return; $(".html5-nav-list").css({ "margin-left": 0 }); var $navMask = $(".html5-nav-mask"); var $navPrev = $(".html5-nav-prev"); var $navNext = $(".html5-nav-next"); var winWidth = $(window).width(); if (inst.options.totalwidth <= winWidth) { $navMask.css({ width: inst.options.totalwidth + "px" }); $navPrev.hide(); $navNext.hide() } else { $navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + "px" }); $navPrev.show(); $navNext.show() } }; inst.calcElemSize = function(sizeObj, keepratio) { if (!inst.options.responsive) return sizeObj; var winWidth = $(window).width(); winWidth = winWidth ? winWidth : $(document).width(); var winH = window.innerHeight ? window.innerHeight : $(window).height(); winH = winH ? winH : $(document).height(); if ((inst.options.titlestyle == "left" || inst.options.titlestyle == "right") && winWidth > inst.options.sidetobottomscreenwidth) sizeObj.w = sizeObj.w * 100 / inst.options.imagepercentage; var topmargin = $(window).width() < inst.options.navarrowsbottomscreenwidth ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin; var h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin; if (inst.options.titlestyle == "bottom") h0 -= inst.options.barheight; if ((inst.options.titlestyle == "left" || inst.options.titlestyle == "right") && winWidth <= inst.options.sidetobottomscreenwidth || inst.options.notkeepratioonsmallheight && winH <= inst.options.smallscreenheight) keepratio = false; if (sizeObj.h > h0) { if (keepratio) sizeObj.w = Math.round(sizeObj.w * h0 / sizeObj.h); sizeObj.h = h0 } var w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin; if (inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth || (inst.options.isTouch && inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth) w0 -= 64; if (sizeObj.w > w0) { if (keepratio) sizeObj.h = Math.round(sizeObj.h * w0 / sizeObj.w); sizeObj.w = w0 } return sizeObj }; inst.showData = function() { if (inst.$text.text().length > 0) inst.$elemData.show(); if (inst.options.titlestyle == "bottom" || inst.options.titlestyle == "inside") inst.$lightboxBox.css({ height: "auto" }); if (inst.$text.text().length > 0 && inst.options.titlestyle == "bottom") inst.$elemData.css({ "max-height": inst.options.barheight + "px" }); $("#html5-lightbox-overlay", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) }); $(window).trigger("html5lightbox.lightboxopened") }; inst.resizeLightbox = function(elemW, elemH, bAnimate, onFinish) { inst.hideNavArrows(); var boxPos = inst.calcBoxPosition(elemW, elemH); var boxW = boxPos[0]; var boxH = boxPos[1]; var boxT = boxPos[2]; inst.$loading.hide(); inst.$watermark.hide(); if (inst.options.nextElem <= inst.options.curElem) if (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == "function") window[inst.options.onlastitem](inst.currentElem); if (inst.options.prevElem >= inst.options.curElem) if (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == "function") window[inst.options.onfirstitem](inst.currentElem); if (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) { inst.$elem.bind("mouseenter mousemove", function() { if (inst.options.arrowloop && inst.options.prevElem >= 0 || !inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.prevElem < inst.options.curElem) inst.$prev.fadeIn(); if (inst.options.arrowloop && inst.options.nextElem >= 0 || !inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem) inst.$next.fadeIn() }); inst.$elem.bind("mouseleave", function() { inst.$next.fadeOut(); inst.$prev.fadeOut() }) } inst.$lightboxBox.css({ "margin-top": boxT }); if (!inst.options.positionFixed) inst.$lightboxBox.css("margin-top", $(window).scrollTop() + inst.options.bordertopmargin); if (inst.options.titlestyle == "left" || inst.options.titlestyle == "right") { var speed = bAnimate ? inst.options.resizespeed : 0; if (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) speed = 0; inst.$lightboxBox.animate({ width: boxW }, speed).animate({ height: boxH }, speed, function() { inst.onAnimateFinish(onFinish) }) } else { var speed = bAnimate ? inst.options.resizespeed : 0; if (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) speed = 0; inst.$lightboxBox.css({ "width": boxW, "height": "auto" }); inst.$elemWrap.animate({ width: boxW }, speed).animate({ height: boxH }, speed, function() { inst.onAnimateFinish(onFinish) }) } }; inst.onAnimateFinish = function(onFinish) { inst.$loading.show(); inst.$watermark.show(); inst.$close.show(); inst.$elem.css({ "background-color": inst.options.bgcolor }); onFinish() }; inst.reset = function() { if (inst.options.stamp) inst.$watermark.hide(); inst.showing = false; inst.$image.empty(); inst.$text.empty(); inst.$error.hide(); inst.$loading.hide(); inst.$image.hide(); if (inst.options.titlestyle == "bottom" || inst.options.titlestyle == "inside") inst.$elemData.hide(); if (!inst.options.fullscreenmode) inst.$close.hide(); inst.$elem.css({ "background-color": "" }) }; inst.resetNavigation = function() { inst.options.navheight = 0; $(".html5-nav").remove() }; inst.finish = function() { if ($("#html5-lightbox-video", inst.$lightbox).length) $("#html5-lightbox-video", inst.$lightbox).attr("src", ""); $("head").find("style").each(function() { if ($(this).data("creator") == "carousel-html5-lightbox") $(this).remove() }); inst.slideTimeout.stop(); inst.reset(); inst.resetNavigation(); inst.$lightbox.remove(); $("#carousel-html5-lightbox").remove(); inst.showObjects(); if (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == "function") window[inst.options.oncloselightbox](inst.currentElem); if (inst.onLightboxClosed && typeof inst.onLightboxClosed == "function") inst.onLightboxClosed(inst.currentElem) }; inst.pauseSlide = function() {}; inst.playSlide = function() {}; inst.gotoSlide = function(slide) { if (slide == -1) { if (inst.options.nextElem < 0) return; inst.options.curElem = inst.options.nextElem } else if (slide == -2) { if (inst.options.prevElem < 0) return; inst.options.curElem = inst.options.prevElem } else if (slide >= 0) inst.options.curElem = slide; if (inst.autosliding) inst.slideTimeout.stop(); inst.calcNextPrevElem(); inst.reset(); inst.loadCurElem() }; inst.enableSwipe = function() { inst.$elem.carouselTouchSwipe({ preventWebBrowser: false, swipeLeft: function() { inst.gotoSlide(-1) }, swipeRight: function() { inst.gotoSlide(-2) } }) }; inst.hideObjects = function() { $("select, embed, object").css({ "visibility": "hidden" }) }; inst.showObjects = function() { $("select, embed, object").css({ "visibility": "visible" }) }; inst.embedHTML5Video = function($container, src, autoplay, loopvideo) { $container.html("
"); if (!inst.options.nativehtml5controls) { $("video", $container).data("src", src); $("video", $container).acHTML5VideoControls(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume) } $("video", $container).unbind("ended").bind("ended", function() { $(window).trigger("html5lightbox.videofinished"); if (inst.autosliding) inst.gotoSlide(-1); else if (inst.options.autoclose) inst.finish() }) }; inst.embedFlash = function($container, src, wmode, flashVars) { if (inst.options.flashInstalled) { var htmlOptions = { pluginspage: "http://www.adobe.com/go/getflashplayer", quality: "high", allowFullScreen: "true", allowScriptAccess: "always", type: "application/x-shockwave-flash" }; htmlOptions.width = "100%"; htmlOptions.height = "100%"; htmlOptions.src = src; htmlOptions.flashVars = $.param(flashVars); htmlOptions.wmode = wmode; var htmlString = ""; for (var key in htmlOptions) htmlString += key + "=" + htmlOptions[key] + " "; $container.html("") } else $container.html("
The required Adobe Flash Player plugin is not installed

Get Adobe Flash player
") }; inst.checkType = function(href) { if (!href) return -1; if (href.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i)) return 0; if (href.match(/[^\.]\.(swf)\s*$/i)) return 1; if (href.match(/\.(mp4|m4v|ogv|ogg|webm)(.*)?$/i)) return 2; if (href.match(/\:\/\/.*(youtube\.com)/i) || href.match(/\:\/\/.*(youtu\.be)/i)) return 3; if (href.match(/\:\/\/.*(vimeo\.com)/i)) return 4; if (href.match(/\:\/\/.*(dailymotion\.com)/i) || href.match(/\:\/\/.*(dai\.ly)/i)) return 9; if (href.match(/[^\.]\.(pdf)\s*$/i)) return 5; if (href.match(/[^\.]\.(mp3)\s*$/i)) return 6; if (href.match(/[^\.]\.(flv)\s*$/i)) return 8; if (href.match(/\#\w+/i)) return 10; if (href.match(/\:\/\/.*(wistia)/i)) return 11; return 7 }; inst.getURLParams = function() { var result = {}; var params = window.location.search.substring(1).split("&"); for (var i = 0; i < params.length; i++) { var value = params[i].split("="); if (value && value.length == 2) result[value[0].toLowerCase()] = unescape(value[1]) } return result }; inst.absoluteUrl = function(href) { var link = document.createElement("a"); link.href = href; return link.protocol + "//" + link.host + link.pathname + link.search + link.hash }; inst.showLightbox = function(type, href, title, width, height, webm, ogg, thumbnail, description) { inst.options = $.extend(inst.options, inst.defaultoptions); $(window).trigger("html5lightbox.lightboxshow"); inst.init(); inst.reset(); inst.$lightbox.show(); var boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight); var boxW = boxPos[0]; var boxH = boxPos[1]; var boxT = boxPos[2]; inst.$lightboxBox.css({ "margin-top": boxT }); if (!inst.options.positionFixed) inst.$lightboxBox.css("margin-top", $(window).scrollTop() + inst.options.bordertopmargin); if (inst.options.titlestyle == "left" || inst.options.titlestyle == "right") inst.$lightboxBox.css({ "width": boxW, "height": boxH }); else { inst.$lightboxBox.css({ "width": boxW, "height": "auto" }); inst.$elemWrap.css({ "width": boxW, "height": boxH }) } inst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description)) }; inst.addItem = function(href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) { type = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href); inst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description)) }; inst.showItem = function(href) { inst.options = $.extend(inst.options, inst.defaultoptions); $(window).trigger("html5lightbox.lightboxshow"); inst.init(); if (inst.elemArray.length <= 0) return true; inst.hideObjects(); for (var i = 0; i < inst.elemArray.length; i++) if (inst.elemArray[i][ELEM_HREF] == href) break; if (i == inst.elemArray.length) return true; inst.options.curElem = i; inst.calcNextPrevElem(); inst.reset(); inst.$lightbox.show(); var boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight); var boxW = boxPos[0]; var boxH = boxPos[1]; var boxT = boxPos[2]; inst.$lightboxBox.css({ "margin-top": boxT }); if (!inst.options.positionFixed) inst.$lightboxBox.css("margin-top", $(window).scrollTop() + inst.options.bordertopmargin); if (inst.options.titlestyle == "left" || inst.options.titlestyle == "right") inst.$lightboxBox.css({ "width": boxW, "height": boxH }); else { inst.$lightboxBox.css({ "width": boxW, "height": "auto" }); inst.$elemWrap.css({ "width": boxW, "height": boxH }) } inst.loadCurElem(); return false }; inst.unbind("click").click(inst.clickHandler); inst.each(function() { var self = $(this); if (self.data("autoopen")) { setTimeout(function() { self.click() }, self.data("autoopendelay") ? self.data("autoopendelay") : 0); return false } }); var urlParams = inst.getURLParams(); if ("wpcarousellightboxshare" in urlParams) { var shareUrl = decodeURIComponent(urlParams["wpcarousellightboxshare"]); var shareLink = $('.wondercarousellightbox[href="' + shareUrl + '"]'); if (shareLink.length > 0) shareLink.click() } return inst } })(jQuery); (function($) { $.fn.acHTML5VideoControls = function(skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) { var isTouch = "ontouchstart" in window; var eStart = isTouch ? "touchstart" : "mousedown"; var eMove = isTouch ? "touchmove" : "mousemove"; var eCancel = isTouch ? "touchcancel" : "mouseup"; var eClick = "click"; var BUTTON_SIZE = 32; var BAR_HEIGHT = isTouch ? 48 : 36; var hideControlsTimerId = null; var hideVolumeBarTimeoutId = null; var sliderDragging = false; var isFullscreen = false; var userActive = true; var isIPhone = navigator.userAgent.match(/iPod/i) != null || navigator.userAgent.match(/iPhone/i) != null; var isHd = $(this).data("ishd"); var hd = $(this).data("hd"); var src = $(this).data("src"); var $videoObj = $(this); $videoObj.get(0).removeAttribute("controls"); if (isIPhone) { var h = $videoObj.height() - BAR_HEIGHT; $videoObj.css({ height: h }) } var $videoPlay = $("
"); if (!isIPhone) { $videoObj.after($videoPlay); $videoPlay.css({ position: "absolute", top: "50%", left: "50%", display: "block", cursor: "pointer", width: 64, height: 64, "margin-left": -32, "margin-top": -32, "background-image": "url('" + skinFolder + "html5boxplayer_playvideo.png" + "')", "background-position": "center center", "background-repeat": "no-repeat" }).bind(eClick, function() { $videoObj.get(0).play() }) } var $videoFullscreenBg = $("
"); var $videoControls = $("
" + "
" + "
" + "
" + "
" + "
" + "
--:--
" + "
" + "
" + "
" + "
" + "
" + "
" + "
" + "
" + "
" + "
" + "
--:--
" + "
" + "
" + "
" + "
" + "
" + "
" + "
"); $videoObj.after($videoControls); $videoObj.after($videoFullscreenBg); $videoFullscreenBg.css({ display: "none", position: "fixed", left: 0, top: 0, bottom: 0, right: 0, "z-index": 2147483647 }); $videoControls.css({ display: "block", position: "absolute", width: "100%", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, "max-width": "640px", margin: "0 auto" }); var userActivate = function() { userActive = true }; $videoObj.bind(eClick, function() { userActive = true }).hover(function() { userActive = true }, function() { userActive = false }); if (!hidecontrols) setInterval(function() { if (userActive) { $videoControls.show(); userActive = false; clearTimeout(hideControlsTimerId); hideControlsTimerId = setTimeout(function() { if (!$videoObj.get(0).paused) $videoControls.fadeOut() }, 5E3) } }, 250); $(".html5boxVideoControlsBg", $videoControls).css({ display: "block", position: "absolute", width: "100%", height: "100%", left: 0, top: 0, "background-color": "#000000", opacity: 0.7, filter: "alpha(opacity=70)" }); $(".html5boxPlayPause", $videoControls).css({ display: "block", position: "relative", width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) / 2), "float": "left" }); var $videoBtnPlay = $(".html5boxPlay", $videoControls); var $videoBtnPause = $(".html5boxPause", $videoControls); $videoBtnPlay.css({ display: "block", position: "absolute", top: 0, left: 0, width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", cursor: "pointer", "background-image": "url('" + skinFolder + "html5boxplayer_playpause.png" + "')", "background-position": "top left" }).hover(function() { $(this).css({ "background-position": "bottom left" }) }, function() { $(this).css({ "background-position": "top left" }) }).bind(eClick, function() { $videoObj.get(0).play() }); $videoBtnPause.css({ display: "none", position: "absolute", top: 0, left: 0, width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", cursor: "pointer", "background-image": "url('" + skinFolder + "html5boxplayer_playpause.png" + "')", "background-position": "top right" }).hover(function() { $(this).css({ "background-position": "bottom right" }) }, function() { $(this).css({ "background-position": "top right" }) }).bind(eClick, function() { $videoObj.get(0).pause() }); var $videoTimeCurrent = $(".html5boxTimeCurrent", $videoControls); var $videoTimeTotal = $(".html5boxTimeTotal", $videoControls); var $videoSeeker = $(".html5boxSeeker", $videoControls); var $videoSeekerPlay = $(".html5boxSeekerPlay", $videoControls); var $videoSeekerBuffer = $(".html5boxSeekerBuffer", $videoControls); var $videoSeekerHandler = $(".html5boxSeekerHandler", $videoControls); $videoTimeCurrent.css({ display: "block", position: "relative", "float": "left", "line-height": BAR_HEIGHT + "px", "font-weight": "normal", "font-size": "12px", margin: "0 8px", "font-family": "Arial, Helvetica, sans-serif", color: "#fff" }); $videoTimeTotal.css({ display: "block", position: "relative", "float": "right", "line-height": BAR_HEIGHT + "px", "font-weight": "normal", "font-size": "12px", margin: "0 8px", "font-family": "Arial, Helvetica, sans-serif", color: "#fff" }); $videoSeeker.css({ display: "block", cursor: "pointer", overflow: "hidden", position: "relative", height: "10px", "background-color": "#222", margin: Math.floor((BAR_HEIGHT - 10) / 2) + "px 4px" }).bind(eStart, function(e) { var e0 = isTouch ? e.originalEvent.touches[0] : e; var pos = e0.pageX - $videoSeeker.offset().left; $videoSeekerPlay.css({ width: pos }); $videoObj.get(0).currentTime = pos * $videoObj.get(0).duration / $videoSeeker.width(); $videoSeeker.bind(eMove, function(e) { var e0 = isTouch ? e.originalEvent.touches[0] : e; var pos = e0.pageX - $videoSeeker.offset().left; $videoSeekerPlay.css({ width: pos }); $videoObj.get(0).currentTime = pos * $videoObj.get(0).duration / $videoSeeker.width() }) }).bind(eCancel, function() { $videoSeeker.unbind(eMove) }); $videoSeekerBuffer.css({ display: "block", position: "absolute", left: 0, top: 0, height: "100%", "background-color": "#444" }); $videoSeekerPlay.css({ display: "block", position: "absolute", left: 0, top: 0, height: "100%", "background-color": "#fcc500" }); if (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) { var switchScreen = function(fullscreen) { if (fullscreen) { if ($videoObj.get(0).requestFullscreen) $videoObj.get(0).requestFullscreen(); else if ($videoObj.get(0).webkitRequestFullScreen) $videoObj.get(0).webkitRequestFullScreen(); else if ($videoObj.get(0).mozRequestFullScreen) $videoObj.get(0).mozRequestFullScreen(); else if ($videoObj.get(0).webkitEnterFullScreen) $videoObj.get(0).webkitEnterFullScreen(); if ($videoObj.get(0).msRequestFullscreen) $videoObj.get(0).msRequestFullscreen() } else if (document.cancelFullScreen) document.cancelFullScreen(); else if (document.mozCancelFullScreen) document.mozCancelFullScreen(); else if (document.webkitCancelFullScreen) document.webkitCancelFullScreen(); else if (document.webkitExitFullscreen) document.webkitExitFullscreen(); else if (document.msExitFullscreen) document.msExitFullscreen() }; var switchScreenCSS = function(fullscreen) { $videoControls.css({ position: fullscreen ? "fixed" : "absolute" }); var backgroundPosY = $videoFullscreen.css("background-position") ? $videoFullscreen.css("background-position").split(" ")[1] : $videoFullscreen.css("background-position-y"); $videoFullscreen.css({ "background-position": (fullscreen ? "right" : "left") + " " + backgroundPosY }); $videoFullscreenBg.css({ display: fullscreen ? "block" : "none" }); if (fullscreen) { $(document).bind("mousemove", userActivate); $videoControls.css({ "z-index": 2147483647 }) } else { $(document).unbind("mousemove", userActivate); $videoControls.css({ "z-index": "" }) } }; document.addEventListener("fullscreenchange", function() { isFullscreen = document.fullscreen; switchScreenCSS(document.fullscreen) }, false); document.addEventListener("mozfullscreenchange", function() { isFullscreen = document.mozFullScreen; switchScreenCSS(document.mozFullScreen) }, false); document.addEventListener("webkitfullscreenchange", function() { isFullscreen = document.webkitIsFullScreen; switchScreenCSS(document.webkitIsFullScreen) }, false); $videoObj.get(0).addEventListener("webkitbeginfullscreen", function() { isFullscreen = true }, false); $videoObj.get(0).addEventListener("webkitendfullscreen", function() { isFullscreen = false }, false); $("head").append(""); var $videoFullscreen = $(".html5boxFullscreen", $videoControls); $videoFullscreen.css({ display: "block", position: "relative", "float": "right", width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) / 2), cursor: "pointer", "background-image": "url('" + skinFolder + "html5boxplayer_fullscreen.png" + "')", "background-position": "left top" }).hover(function() { var backgroundPosX = $(this).css("background-position") ? $(this).css("background-position").split(" ")[0] : $(this).css("background-position-x"); $(this).css({ "background-position": backgroundPosX + " bottom" }) }, function() { var backgroundPosX = $(this).css("background-position") ? $(this).css("background-position").split(" ")[0] : $(this).css("background-position-x"); $(this).css({ "background-position": backgroundPosX + " top" }) }).bind(eClick, function() { isFullscreen = !isFullscreen; switchScreen(isFullscreen) }) } if (hd) { var $videoHD = $(".html5boxHD", $videoControls); $videoHD.css({ display: "block", position: "relative", "float": "right", width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) / 2), cursor: "pointer", "background-image": "url('" + skinFolder + "html5boxplayer_hd.png" + "')", "background-position": (isHd ? "right" : "left") + " center" }).bind(eClick, function() { isHd = !isHd; $(this).css({ "background-position": (isHd ? "right" : "left") + " center" }); parentInst.isHd = isHd; var isPaused = $videoObj.get(0).isPaused; $videoObj.get(0).setAttribute("src", (isHd ? hd : src) + "#t=" + $videoObj.get(0).currentTime); if (!isPaused) $videoObj.get(0).play(); else if (!isIPhone) $videoObj.get(0).pause() }) } $videoObj.get(0).volume = defaultvolume; var volumeSaved = defaultvolume == 0 ? 1 : defaultvolume; var volume = $videoObj.get(0).volume; $videoObj.get(0).volume = volume / 2 + 0.1; if ($videoObj.get(0).volume === volume / 2 + 0.1) { $videoObj.get(0).volume = volume; var $videoVolume = $(".html5boxVolume", $videoControls); var $videoVolumeButton = $(".html5boxVolumeButton", $videoControls); var $videoVolumeBar = $(".html5boxVolumeBar", $videoControls); var $videoVolumeBarBg = $(".html5boxVolumeBarBg", $videoControls); var $videoVolumeBarActive = $(".html5boxVolumeBarActive", $videoControls); $videoVolume.css({ display: "block", position: "relative", "float": "right", width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) / 2) }).hover(function() { clearTimeout(hideVolumeBarTimeoutId); var volume = $videoObj.get(0).volume; $videoVolumeBarActive.css({ height: Math.round(volume * 100) + "%" }); $videoVolumeBar.show() }, function() { clearTimeout(hideVolumeBarTimeoutId); hideVolumeBarTimeoutId = setTimeout(function() { $videoVolumeBar.hide() }, 1E3) }); $videoVolumeButton.css({ display: "block", position: "absolute", top: 0, left: 0, width: BUTTON_SIZE + "px", height: BUTTON_SIZE + "px", cursor: "pointer", "background-image": "url('" + skinFolder + "html5boxplayer_volume.png" + "')", "background-position": "top " + (volume > 0 ? "left" : "right") }).hover(function() { var backgroundPosX = $(this).css("background-position") ? $(this).css("background-position").split(" ")[0] : $(this).css("background-position-x"); $(this).css({ "background-position": backgroundPosX + " bottom" }) }, function() { var backgroundPosX = $(this).css("background-position") ? $(this).css("background-position").split(" ")[0] : $(this).css("background-position-x"); $(this).css({ "background-position": backgroundPosX + " top" }) }).bind(eClick, function() { var volume = $videoObj.get(0).volume; if (volume > 0) { volumeSaved = volume; volume = 0 } else volume = volumeSaved; var backgroundPosY = $(this).css("background-position") ? $(this).css("background-position").split(" ")[1] : $(this).css("background-position-y"); $videoVolumeButton.css({ "background-position": (volume > 0 ? "left" : "right") + " " + backgroundPosY }); $videoObj.get(0).volume = volume; $videoVolumeBarActive.css({ height: Math.round(volume * 100) + "%" }) }); $videoVolumeBar.css({ display: "none", position: "absolute", left: 4, bottom: "100%", width: 24, height: 80, "margin-bottom": Math.floor((BAR_HEIGHT - BUTTON_SIZE) / 2), "background-color": "#000000", opacity: 0.7, filter: "alpha(opacity=70)" }); $videoVolumeBarBg.css({ display: "block", position: "relative", width: 10, height: 68, margin: 7, cursor: "pointer", "background-color": "#222" }); $videoVolumeBarActive.css({ display: "block", position: "absolute", bottom: 0, left: 0, width: "100%", height: "100%", "background-color": "#fcc500" }); $videoVolumeBarBg.bind(eStart, function(e) { var e0 = isTouch ? e.originalEvent.touches[0] : e; var vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) / $videoVolumeBarBg.height(); vol = vol > 1 ? 1 : vol < 0 ? 0 : vol; $videoVolumeBarActive.css({ height: Math.round(vol * 100) + "%" }); $videoVolumeButton.css({ "background-position": "left " + (vol > 0 ? "top" : "bottom") }); $videoObj.get(0).volume = vol; $videoVolumeBarBg.bind(eMove, function(e) { var e0 = isTouch ? e.originalEvent.touches[0] : e; var vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) / $videoVolumeBarBg.height(); vol = vol > 1 ? 1 : vol < 0 ? 0 : vol; $videoVolumeBarActive.css({ height: Math.round(vol * 100) + "%" }); $videoVolumeButton.css({ "background-position": "left " + (vol > 0 ? "top" : "bottom") }); $videoObj.get(0).volume = vol }) }).bind(eCancel, function() { $videoVolumeBarBg.unbind(eMove) }) } var calcTimeFormat = function(seconds) { var h0 = Math.floor(seconds / 3600); var h = h0 < 10 ? "0" + h0 : h0; var m0 = Math.floor((seconds - h0 * 3600) / 60); var m = m0 < 10 ? "0" + m0 : m0; var s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60)); var s = s0 < 10 ? "0" + s0 : s0; var r = m + ":" + s; if (h0 > 0) r = h + ":" + r; return r }; if (hideplaybutton) $videoPlay.hide(); if (hidecontrols) $videoControls.hide(); var onVideoPlay = function() { if (!hideplaybutton) $videoPlay.hide(); if (!hidecontrols) { $videoBtnPlay.hide(); $videoBtnPause.show() } }; var onVideoPause = function() { if (!hideplaybutton) $videoPlay.show(); if (!hidecontrols) { $videoControls.show(); clearTimeout(hideControlsTimerId); $videoBtnPlay.show(); $videoBtnPause.hide() } }; var onVideoEnded = function() { $(window).trigger("html5lightbox.videoended"); if (!hideplaybutton) $videoPlay.show(); if (!hidecontrols) { $videoControls.show(); clearTimeout(hideControlsTimerId); $videoBtnPlay.show(); $videoBtnPause.hide() } }; var onVideoUpdate = function() { var curTime = $videoObj.get(0).currentTime; if (curTime) { $videoTimeCurrent.text(calcTimeFormat(curTime)); var duration = $videoObj.get(0).duration; if (duration) { $videoTimeTotal.text(calcTimeFormat(duration)); if (!sliderDragging) { var sliderW = $videoSeeker.width(); var pos = Math.round(sliderW * curTime / duration); $videoSeekerPlay.css({ width: pos }); $videoSeekerHandler.css({ left: pos }) } } } }; var onVideoProgress = function() { if ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) { var sliderW = $videoSeeker.width(); $videoSeekerBuffer.css({ width: Math.round(sliderW * $videoObj.get(0).buffered.end(0) / $videoObj.get(0).duration) }) } }; try { $videoObj.bind("play", onVideoPlay); $videoObj.bind("pause", onVideoPause); $videoObj.bind("ended", onVideoEnded); $videoObj.bind("timeupdate", onVideoUpdate); $videoObj.bind("progress", onVideoProgress) } catch (e) {} } })(jQuery); function ASTimer(asTimeout, asCallback, asUpdateCallback) { var asUpdateInterval = 50; var asUpdateTimerId = null; var asRunningTime = 0; this.pause = function() { clearInterval(asUpdateTimerId) }; this.resume = function() { clearInterval(asUpdateTimerId); if (asTimeout > 0) asUpdateTimerId = setInterval(function() { asRunningTime += asUpdateInterval; if (asRunningTime > asTimeout) { clearInterval(asUpdateTimerId); if (asCallback) asCallback() } if (asUpdateCallback) asUpdateCallback(asRunningTime / asTimeout) }, asUpdateInterval); else if (asCallback) asCallback() }; this.stop = function() { clearInterval(asUpdateTimerId); if (asUpdateCallback) asUpdateCallback(-1); asRunningTime = 0 }; this.start = function() { asRunningTime = 0; clearInterval(asUpdateTimerId); if (asTimeout > 0) asUpdateTimerId = setInterval(function() { asRunningTime += asUpdateInterval; if (asRunningTime > asTimeout) { clearInterval(asUpdateTimerId); if (asCallback) asCallback() } if (asUpdateCallback) asUpdateCallback(asRunningTime / asTimeout) }, asUpdateInterval); else if (asCallback) asCallback() } } var ACPlatforms = { flashInstalled: function() { var flashInstalled = false; try { if (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) flashInstalled = true } catch (e) { if (navigator.mimeTypes["application/x-shockwave-flash"]) flashInstalled = true } return flashInstalled }, html5VideoSupported: function() { return !!document.createElement("video").canPlayType }, isChrome: function() { return navigator.userAgent.match(/Chrome/i) != null }, isFirefox: function() { return navigator.userAgent.match(/Firefox/i) != null }, isOpera: function() { return navigator.userAgent.match(/Opera/i) != null || navigator.userAgent.match(/OPR\//i) != null }, isSafari: function() { return navigator.userAgent.match(/Safari/i) != null }, isAndroid: function() { return navigator.userAgent.match(/Android/i) != null }, isIPad: function() { return navigator.userAgent.match(/iPad/i) != null }, isIPhone: function() { return navigator.userAgent.match(/iPod/i) != null || navigator.userAgent.match(/iPhone/i) != null }, isIOS: function() { return this.isIPad() || this.isIPhone() }, isIE9: function() { return navigator.userAgent.match(/MSIE/i) != null && this.html5VideoSupported() && !this.isOpera() }, isIE8: function() { return navigator.userAgent.match(/MSIE 8/i) != null && !this.isOpera() }, isIE7: function() { return navigator.userAgent.match(/MSIE 7/i) != null && !this.isOpera() }, isIE6: function() { return navigator.userAgent.match(/MSIE 6/i) != null && !this.isOpera() }, isIE678: function() { return this.isIE6() || this.isIE7() || this.isIE8() }, isIE6789: function() { return this.isIE6() || this.isIE7() || this.isIE8() || this.isIE9() }, css33dTransformSupported: function() { return !this.isIE6() && !this.isIE7() && !this.isIE8() && !this.isIE9() && !this.isOpera() }, applyBrowserStyles: function(object, applyToValue) { var ret = {}; for (var key in object) { ret[key] = object[key]; ret["-webkit-" + key] = applyToValue ? "-webkit-" + object[key] : object[key]; ret["-moz-" + key] = applyToValue ? "-moz-" + object[key] : object[key]; ret["-ms-" + key] = applyToValue ? "-ms-" + object[key] : object[key]; ret["-o-" + key] = applyToValue ? "-o-" + object[key] : object[key] } return ret } }; (function($) { $.fn.fmcarousel = function(options) { var ELEM_ID = 0, ELEM_SRC = 1, ELEM_TITLE = 2, ELEM_DESCRIPTION = 3, ELEM_LINK = 4, ELEM_TARGET = 5, ELEM_VIDEO = 6, ELEM_THUMBNAIL = 7, ELEM_LIGHTBOX = 8, ELEM_LIGHTBOXWIDTH = 9, ELEM_LIGHTBOXHEIGHT = 10; var TYPE_IMAGE = 1, TYPE_SWF = 2, TYPE_MP3 = 3, TYPE_PDF = 4, TYPE_VIDEO_FLASH = 5, TYPE_VIDEO_MP4 = 6, TYPE_VIDEO_OGG = 7, TYPE_VIDEO_WEBM = 8, TYPE_VIDEO_YOUTUBE = 9, TYPE_VIDEO_VIMEO = 10; var AmazingCarousel = function(container, options, id) { this.container = container; this.options = options; this.id = id; this.transitionTimeout = null; this.arrowTimeout = null; $(".amazingcarousel-engine").css({ display: "none" }); this.lightboxArray = []; this.visibleItems = this.options.visibleitems; this.itemSize = this.options.width; this.itemHeight = this.options.height; this.currentItem = 0; this.elemLength = 0; this.elemTotalCount = 0; this.animProp = {}; this.transitionTimerId = null; this.transitionTiming = 0; this.processLightbox(); this.preprocess(this) }; AmazingCarousel.prototype = { initData: function() { this.readTags(); this.init() }, processLightbox: function() { if (this.options.lightboxobject) { var instance = this; this.options.lightboxobject.each(function(index) { if ($(this).data("ytplaylist")) instance.options.lightboxobject.splice(index, 1) }) } }, preprocess: function(instance) { var found = false; var item_index = 0; var youtubeapikey = ""; var youtubeplaylistid = ""; var youtubeplaylistmaxresults = ""; $("li.amazingcarousel-item", this.container).each(function(index) { if ($(this).data("youtubeapikey")) { youtubeapikey = $(this).data("youtubeapikey"); youtubeplaylistid = $(this).data("youtubeplaylistid"); youtubeplaylistmaxresults = $(this).data("youtubeplaylistmaxresults"); item_index = index; found = true; return false } }); if (found) instance.getYouTubePlaylist(youtubeapikey, youtubeplaylistid, youtubeplaylistmaxresults, item_index, item_index, instance.preprocess, instance, null); else instance.initData() }, getYouTubePlaylist: function(youtubeapikey, youtubeplaylistid, youtubeplaylistmaxresults, index, insert_index, onsuccess, instance, pagetoken) { var youtube_url = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=" + youtubeplaylistid + "&key=" + youtubeapikey; if (youtubeplaylistmaxresults) if (youtubeplaylistmaxresults > 50) youtube_url += "&maxResults=50"; else youtube_url += "&maxResults=" + youtubeplaylistmaxresults; if (pagetoken) youtube_url += "&pageToken=" + pagetoken; var all_done = true; $.getJSON(youtube_url, function(data) { if (data && data.items) { var original_item = $("li.amazingcarousel-item", instance.container).eq(index); for (var i = 0; i < data.items.length; i++) { var video_id = data.items[i]["snippet"]["resourceId"]["videoId"]; var thumbnail = "https://img.youtube.com/vi/" + video_id + "/0.jpg"; var image = "https://img.youtube.com/vi/" + video_id + "/0.jpg"; if (data.items[i]["snippet"]["thumbnails"] && data.items[i]["snippet"]["thumbnails"]["maxres"]) image = data.items[i]["snippet"]["thumbnails"]["maxres"]["url"]; var video = "https://www.youtube.com/embed/" + video_id; var title = data.items[i]["snippet"]["title"]; var description = data.items[i]["snippet"]["description"]; var new_item = original_item.clone(); new_item.removeAttr("data-youtubeapikey").removeAttr("data-youtubeplaylistid").removeAttr("data-youtubeplaylistmaxresults"); var item_html = new_item.html().replace(/data-srcyt=/g, "src=").replace(/__IMAGE__/g, image).replace(/__THUMBNAIL__/g, thumbnail).replace(/__VIDEO__/g, video).replace(/__TITLE__/g, title).replace(/__DESCRIPTION__/g, description); new_item.html(item_html); if (instance.options.lightboxobject && new_item.find("a").hasClass("wondercarousellightbox")) new_item.find("a").each(function() { instance.options.lightboxobject.push(this); $(this).unbind("click").click(instance.options.lightboxobject.clickHandler) }); $("li.amazingcarousel-item", instance.container).eq(insert_index).after(new_item); insert_index++ } } if (data && data.nextPageToken && youtubeplaylistmaxresults && youtubeplaylistmaxresults > 50) { all_done = false; instance.getYouTubePlaylist(youtubeapikey, youtubeplaylistid, youtubeplaylistmaxresults - 50, index, insert_index, onsuccess, instance, data.nextPageToken) } }).always(function() { if (all_done) { $("li.amazingcarousel-item", instance.container).eq(index).remove(); onsuccess(instance) } }) }, readTags: function() { var items = $("li.amazingcarousel-item", this.container); this.elemLength = items.length; this.elemTotalCount = this.elemLength; var i; if (this.options.random) { for (i = this.elemLength - 1; i > 0; i--) { var index = Math.floor(Math.random() * i); items.eq(index).insertBefore(items.eq(i)); items.eq(i).insertBefore(items.eq(index)) } items = $("li.amazingcarousel-item", this.container) } items.each(function(index) { $(this).data("itemIndex", index) }); if (this.elemLength > 1 && this.options.circular) { var cloneCount = this.elemLength; for (i = 0; i < cloneCount; i++) $("ul.amazingcarousel-list", this.container).append(items.eq(i).clone(true)); this.elemTotalCount += cloneCount } $("ul.amazingcarousel-list", this.container).append("
") }, init: function() { var instance = this; if (instance.elemLength <= 0) return; instance.container.css({ direction: "ltr" }); if (!instance.options.hidecontaineroninit && !instance.options.hidecontainerbeforeloaded) instance.container.css({ display: "block" }); instance.isAnimating = false; instance.isPaused = !instance.options.autoplay; instance.tempPaused = false; instance.mousePaused = false; instance.loopCount = 0; instance.firstResize = false; instance.createPlayVideo(); instance.createHoverOverlay(); instance.createStyle(); instance.createNav(); instance.createArrows(); instance.createBackgroundImage(); instance.createItemBackgroundImage(); instance.createBottomShadow(); instance.createItemBottomShadow(); instance.createWatermark(); instance.createSliderTimeout(); instance.createGoogleFonts(); instance.enableSwipe(); if (instance.options.sameheight && instance.options.direction == "horizontal") instance.itemHeight = instance.calcSameHeight(); var $img = $(".amazingcarousel-image", instance.container).find("img"); if ($img.length) { instance.totalLength = $img.length; instance.loadindex = 0; instance.firstLoad = true; $img.one("load", function() { if (instance.options.sameheight && instance.options.direction == "horizontal") $(this).css({ width: "auto", height: instance.itemHeight + "px", "max-width": "none", "max-height": "100%", "margin-top": "0px", "margin-left": "0px" }); else if (instance.options.fixaspectratio) { $(this).wrap('
'); var imgW = $(this).width(); var imgH = $(this).height(); if (imgW > 0 && imgH && imgW / imgH > instance.options.width / instance.options.height) { $(this).css({ width: "auto", height: "100%", "max-width": "none", "max-height": "100%", "margin-top": "0px", "margin-left": "0px" }); if (instance.options.centerimage) if ($(this).width() > 0) { var ml = ($(this).closest(".amazingcarousel-image").width() - $(this).width()) / 2; $(this).css({ "margin-left": ml + "px" }) } } else { $(this).css({ width: "100%", height: "auto", "max-width": "100%", "max-height": "none", "margin-top": "0px", "margin-left": "0px" }); if (instance.options.centerimage) if ($(this).height() > 0) { var mt = ($(this).closest(".amazingcarousel-image").height() - $(this).height()) / 2; $(this).css({ "margin-top": mt + "px" }) } } } else if (instance.options.fitimage) { $(this).wrap('
'); $(this).css({ width: "auto", height: "auto", "max-width": "100%", "max-height": "100%", "margin-top": "0px", "margin-left": "0px" }); var imgW = $(this).width(); var imgH = $(this).height(); if (imgW > 0 && imgH && imgW / imgH > instance.options.width / instance.options.height) { $(this).css({ width: "100%" }); if (instance.options.fitcenterimage) if ($(this).height() > 0) { var mt = ($(this).closest(".amazingcarousel-image").height() - $(this).height()) / 2; $(this).css({ "margin-top": mt + "px" }) } } else { $(this).css({ height: "100%" }); if (instance.options.fitcenterimage) if ($(this).width() > 0) { var ml = ($(this).closest(".amazingcarousel-image").width() - $(this).width()) / 2; $(this).css({ "margin-left": ml + "px" }) } } } if (!instance.firstResize) { instance.firstResize = true; instance.resizeCarousel() } instance.loadindex++; if (instance.options.hidecontainerbeforeloaded && instance.loadindex == instance.totalLength && instance.firstLoad) { instance.container.trigger("amazingcarousel.allimagesloaded"); instance.container.css({ display: "block" }); $(window).trigger("resize"); if (!instance.isPaused && !instance.tempPaused) instance.sliderTimeout.start(); instance.firstLoad = false } }); $img.each(function() { if (this.complete) $(this).load() }) } else instance.resizeCarousel(); if (instance.options.responsive) $(window).resize(function() { instance.resizeCarousel(); instance.resizeNav() }); $(window).load(function() { instance.resizeCarousel(); instance.resizeNav() }); instance.resizeNav(); var params = instance.getParams(); var firstId = 0; if ("firstcarouselid" in params && params["firstcarouselid"] >= 0 && params["firstcarouselid"] < instance.elemLength) firstId = params["firstcarouselid"]; instance.container.trigger("amazingcarousel.switch", [-1, firstId]); if (firstId > 0) { instance.slideRun(firstId); if ("clickcarousel" in params) $(".amazingcarousel-item", instance.container).each(function() { if ($(this).data("itemIndex") == firstId) { $(".amazingcarousel-image img", this).click(); return false } }) } if (instance.options.hidecontaineroninit && !instance.options.hidecontainerbeforeloaded) { instance.container.css({ display: "block" }); $(window).trigger("resize") } instance.container.trigger("amazingcarousel.initsuccess"); if (!instance.isPaused && !instance.tempPaused && !instance.options.hidecontainerbeforeloaded) instance.sliderTimeout.start() }, getParams: function() { var result = {}; var params = window.location.search.substring(1).split("&"); for (var i = 0; i < params.length; i++) { var value = params[i].split("="); if (value && value.length == 2) result[value[0].toLowerCase()] = unescape(value[1]) } return result }, enableSwipe: function() { if (this.options.enabletouchswipe) { var instance = this; $(".amazingcarousel-list-container", this.container).carouselTouchSwipe({ preventWebBrowser: false, swipeLeft: function() { instance.slideRun(-1) }, swipeRight: function() { instance.slideRun(-2) } }) } }, createPlayVideo: function() { if (!this.options.showplayvideo) return; var instance = this; $(".amazingcarousel-image", this.container).each(function() { var $this = $(this); var isVideo = false; var isLightboxVideo = false; var videoUrl = ""; var videoWebmUrl = ""; $("img", $this).each(function() { if ($(this).data("video")) { videoUrl = $(this).data("video"); if ($(this).data("videowebm")) videoWebmUrl = $(this).data("videowebm"); isVideo = true; return false } else if ($(this).parent()[0].nodeName.toLowerCase() == "a") if ($(this).parent().hasClass("wondercarousellightbox")) { var type = instance.checkVideoType($(this).parent().attr("href")); if (type == TYPE_VIDEO_YOUTUBE || type == TYPE_VIDEO_VIMEO || type == TYPE_VIDEO_MP4 || type == TYPE_VIDEO_WEBM) isLightboxVideo = true } }); if (isVideo || isLightboxVideo) { var pos = "center center"; switch (instance.options.playvideoimagepos) { case "topleft": pos = "left top"; break; case "topright": pos = "right top"; break; case "bottomleft": pos = "left bottom"; break; case "bottomright": pos = "right bottom"; break } var $playVideo = $('
'); $playVideo.appendTo($this); if (isVideo) $this.on("click", ".amazingcarousel-play-video", function() { $this.find("img").css({ visibility: "hidden" }); instance.playVideo($(this), videoUrl, videoWebmUrl); $(this).unbind("click") }); else { var $img = $("img", $this); $playVideo.click(function() { $img.click() }) } } }) }, playVideo: function($videoDiv, videoUrl, videoWebmUrl) { if (videoUrl.length <= 0) return; this.sliderTimeout.stop(); this.tempPaused = true; var type = this.checkVideoType(videoUrl); if (type == TYPE_VIDEO_YOUTUBE) this.playYoutubeVideo(videoUrl, $videoDiv); else if (type == TYPE_VIDEO_VIMEO) this.playVimeoVideo(videoUrl, $videoDiv); else if (type == TYPE_VIDEO_MP4) this.playMp4Video(videoUrl, videoWebmUrl, true, $videoDiv) }, playMp4Video: function(href, webmhref, autoplay, $videoWrapper) { var isHTML5 = true; if (ACPlatforms.isIE6789()) isHTML5 = false; else if ((ACPlatforms.isFirefox() || ACPlatforms.isOpera()) && !webmhref) isHTML5 = false; if (isHTML5) { var videoSrc = ACPlatforms.isFirefox() || ACPlatforms.isOpera() ? webmhref : href; this.embedHTML5Video($videoWrapper, videoSrc, autoplay) } else { var videoFile = href; if (videoFile.charAt(0) != "/" && videoFile.substring(0, 5) != "http:" && videoFile.substring(0, 6) != "https:") videoFile = this.options.htmlfolder + videoFile; this.embedFlash($videoWrapper, "100%", "100%", this.options.jsfolder + "html5boxplayer.swf", "transparent", { width: "100%", height: "100%", videofile: videoFile, hdfile: "", ishd: "0", autoplay: autoplay ? "1" : "0", errorcss: ".amazingcarousel-error" + this.options.errorcss, id: this.id, hidecontrols: "0", hideplaybutton: "0", defaultvolume: 1 }) } }, embedHTML5Video: function($container, src, autoPlay) { $container.html("
"); $("video", $container).get(0).setAttribute("src", src); if (autoPlay) $("video", $container).get(0).play(); if (!this.options.nativehtml5controls) $("video", $container).acHTML5VideoControls(this.options.skinsfolder, this, this.options.videohidecontrols, this.options.videohideplaybutton, this.options.defaultvideovolume) }, embedFlash: function($container, w, h, src, wmode, flashVars) { if (ACPlatforms.flashInstalled()) { var htmlOptions = { pluginspage: "http://www.adobe.com/go/getflashplayer", quality: "high", allowFullScreen: "true", allowScriptAccess: "always", type: "application/x-shockwave-flash" }; htmlOptions.width = w; htmlOptions.height = h; htmlOptions.src = src; htmlOptions.wmode = wmode; htmlOptions.flashVars = $.param(flashVars); var htmlString = ""; for (var key in htmlOptions) htmlString += key + "=" + htmlOptions[key] + " "; $container.html("") } else $container.html("
The required Adobe Flash Player plugin is not installed

Get Adobe Flash player
") }, playYoutubeVideo: function(href, $videoWrapper) { if (this.options.previewmode) { $videoWrapper.html("
To view YouTube video, publish the carousel then open it in your web browser
"); return } else { var src = href + (href.indexOf("?") < 0 ? "?" : "&") + "autoplay=1&wmode=transparent&rel=0&autohide=1"; $videoWrapper.html("") } }, playVimeoVideo: function(href, $videoWrapper) { if (this.options.previewmode) { $videoWrapper.html("
To view Vimeo video, publish the carousel then open it in your web browser
"); return } else { var src = href + (href.indexOf("?") < 0 ? "?" : "&") + "autoplay=1&api=1"; $videoWrapper.html("") } }, checkVideoType: function(href) { if (!href) return -1; if (href.match(/\.(flv)(.*)?$/i)) return TYPE_VIDEO_FLASH; if (href.match(/\.(mp4|m4v)(.*)?$/i)) return TYPE_VIDEO_MP4; if (href.match(/\.(ogv|ogg)(.*)?$/i)) return TYPE_VIDEO_OGG; if (href.match(/\.(webm)(.*)?$/i)) return TYPE_VIDEO_WEBM; if (href.match(/\:\/\/.*(youtube\.com)/i) || href.match(/\:\/\/.*(youtu\.be)/i)) return TYPE_VIDEO_YOUTUBE; if (href.match(/\:\/\/.*(vimeo\.com)/i)) return TYPE_VIDEO_VIMEO; return 0 }, createHoverOverlay: function() { var instance = this; $(".amazingcarousel-image", this.container).each(function() { var $this = $(this); var isLightbox = false; var isLink = false; $("img", $this).each(function() { if ($(this).parent()[0].nodeName.toLowerCase() == "a") { isLink = true; if ($(this).parent().hasClass("wondercarousellightbox")) { isLightbox = true; return false } } }); if ($(this).siblings(".amazingcarousel-hover").length > 0 && !(instance.options.hidehoveroverlayontouch && "ontouchstart" in window)) { $(this).parent().hover(function() { $(this).find(".amazingcarousel-hover").fadeIn() }, function() { $(this).find(".amazingcarousel-hover").fadeOut() }); var $img = $("img", $this); $(this).siblings(".amazingcarousel-hover").click(function() { $img.click() }) } else if (instance.options.showhoveroverlay && !(instance.options.hidehoveroverlayontouch && "ontouchstart" in window) && (isLightbox || isLink && instance.options.showhoveroverlayalways)) { var $hoverImage = $(''); $hoverImage.appendTo($this); var $img = $("img", $this); $hoverImage.click(function() { $img.click() }); $(this).hover(function() { if (ACPlatforms.isIE678()) $hoverImage.show(); else $hoverImage.fadeIn() }, function() { if (ACPlatforms.isIE678()) $hoverImage.hide(); else $hoverImage.fadeOut() }) } if ($(this).siblings(".amazingcarousel-flip").length > 0) { if (ACPlatforms.isIE6789()) $(this).parent().hover(function() { $(this).find(".amazingcarousel-flip").hide().insertAfter($(this).find(".amazingcarousel-image")).fadeIn() }, function() { $(this).find(".amazingcarousel-flip").fadeOut() }); var $img = $("img", $this); $(this).siblings(".amazingcarousel-flip").click(function() { $img.click() }) } if ($(this).closest(".amazingcarousel-flipout").length > 0) { var $itemcontainer = $(this).closest(".amazingcarousel-item-container"); if (ACPlatforms.isIE6789()) $itemcontainer.hover(function() { $(this).find(".amazingcarousel-flip").hide().insertAfter($(this).find(".amazingcarousel-flipout")).fadeIn() }, function() { $(this).find(".amazingcarousel-flip").fadeOut() }); var $img = $("img", $this); $itemcontainer.find(".amazingcarousel-flip").click(function() { $img.click() }) } }) }, createStyle: function() { $("ul.amazingcarousel-list", this.container).wrap('
'); $("ul.amazingcarousel-list", this.container).css({ display: "block", position: "relative", "list-style-type": "none", "list-style-image": "none", "background-image": "none", "background-color": "transparent", padding: 0, margin: 0 }); $("li.amazingcarousel-item", this.container).css({ display: "block", position: "relative", "background-image": "none", "background-color": "transparent", margin: 0, padding: 0, "float": this.options.direction == "horizontal" ? "left" : "top" }); if (this.options.sameheight && this.options.direction == "horizontal") { $("ul.amazingcarousel-list", this.container).css({ "white-space": "nowrap" }); $("li.amazingcarousel-item", this.container).css({ display: "inline-block", "float": "none" }) } var m = 0; if (this.options.spacing > 0) if (this.options.direction == "horizontal") { var s = Math.min(this.options.spacing / 2); m = "0 " + s + "px" } else m = "0 0 " + this.options.spacing + "px 0"; var itemCss = {}; itemCss["position"] = "relative"; itemCss["margin"] = m; $("div.amazingcarousel-item-container", this.container).css(itemCss); var listCss = {}; listCss["position"] = "relative"; listCss["margin"] = "0 auto"; listCss["overflow"] = "visible"; $("div.amazingcarousel-list-container", this.container).css(listCss); var wrapperCss = {}; wrapperCss["overflow"] = "hidden"; if (this.options.direction == "vertical") wrapperCss["height"] = "100%"; $("div.amazingcarousel-list-wrapper", this.container).css(wrapperCss) }, hideVideo: function(start) { var instance = this; var index = 0; $("li.amazingcarousel-item", this.container).each(function() { if (index < start || index >= start + instance.visibleItems) { $(this).find(".amazingcarousel-image").find("img").css({ visibility: "visible" }); $(".amazingcarousel-play-video", $(this)).empty() } index++ }) }, calcSameHeight: function() { var itemHeight = this.options.height; if (this.options.responsive && this.options.sameheightresponsive) { var screenWidth = $(window).width(); if (screenWidth < this.options.sameheightsmallscreen) itemHeight = this.options.sameheightsmallheight; else if (screenWidth < this.options.sameheightmediumscreen) itemHeight = this.options.sameheightmediumheight; else itemHeight = this.options.height } return itemHeight }, checkMK: function() { }, resizeCarousel: function() { var instance = this; this.visibleItems = this.options.visibleitems; this.itemSize = this.options.width; if (this.options.responsive) if (this.options.direction == "horizontal") { if (this.options.fullwidth) { this.container.css({ "max-width": "100%" }); $(".amazingcarousel-list-container", this.container).css({ width: "100%", "box-sizing": "border-box" }); $(".amazingcarousel-list-wrapper", this.container).css({ width: "100%" }) } var conWidth; if (this.options.usescreenquery) { conWidth = $(".amazingcarousel-list-container", this.container).width(); if (conWidth > 0) { var screenWidth = $(window).width(); for (var i in this.options.screenquery) if (screenWidth < this.options.screenquery[i].screenwidth) this.visibleItems = this.options.screenquery[i].visibleitems; this.itemSize = Math.round(conWidth / this.visibleItems); $(".amazingcarousel-list-wrapper", this.container).width(conWidth) } } else { conWidth = this.container.width(); if (conWidth > 0) { this.visibleItems = this.options.fullwidth ? Math.ceil(conWidth / this.options.width) : Math.floor(conWidth / this.options.width); if (this.visibleItems < 1) { this.visibleItems = 1; this.itemSize = conWidth } else this.itemSize = this.options.width; if (!this.options.fullwidth) { $(".amazingcarousel-list-container", this.container).width(this.visibleItems * this.itemSize); $(".amazingcarousel-list-wrapper", this.container).width(this.visibleItems * this.itemSize) } } } } else { var itemWidth = $(".amazingcarousel-list-container", this.container).width(); if (itemWidth > 0) { this.itemSize = itemWidth; $(".amazingcarousel-list-wrapper", this.container).width(itemWidth) } } if (this.options.sameheight && this.options.direction == "horizontal") { instance.itemHeight = instance.calcSameHeight(); $(".amazingcarousel-image", this.container).find("img").each(function() { $(this).css({ width: "auto", height: instance.itemHeight + "px" }) }) } else { $("li.amazingcarousel-item", this.container).css({ width: this.itemSize + "px" }); if (this.options.direction == "vertical") this.itemSize = $("li.amazingcarousel-item", this.container).height(); if (this.options.fixaspectratio) { var imageWidth = $(".amazingcarousel-image", this.container).width(); var imageHeight = imageWidth * this.options.height / this.options.width; $(".amazingcarousel-image", this.container).css({ height: imageHeight + "px", overflow: "hidden" }); $(".amazingcarousel-image", this.container).find("img").each(function() { var imgW = $(this).width(); var imgH = $(this).height(); if (imgW > 0 && imgH && imgW / imgH > instance.options.width / instance.options.height) { $(this).css({ width: "auto", height: "100%", "max-width": "none", "max-height": "100%", "margin-top": "0px", "margin-left": "0px" }); if (instance.options.centerimage) if ($(this).width() > 0) { var ml = ($(this).closest(".amazingcarousel-image").width() - $(this).width()) / 2; $(this).css({ "margin-left": ml + "px" }) } } else { $(this).css({ width: "100%", height: "auto", "max-width": "100%", "max-height": "none", "margin-top": "0px", "margin-left": "0px" }); if (instance.options.centerimage) if ($(this).height() > 0) { var mt = ($(this).closest(".amazingcarousel-image").height() - $(this).height()) / 2; $(this).css({ "margin-top": mt + "px" }) } } }) } else if (this.options.fitimage) { var imageWidth = $(".amazingcarousel-image", this.container).width(); var imageHeight = imageWidth * this.options.height / this.options.width; $(".amazingcarousel-image", this.container).css({ height: imageHeight + "px", overflow: "hidden" }); $(".amazingcarousel-image", this.container).find("img").each(function() { $(this).css({ width: "auto", height: "auto", "max-width": "100%", "max-height": "100%", "margin-top": "0px", "margin-left": "0px" }); var imgW = $(this).width(); var imgH = $(this).height(); if (imgW > 0 && imgH && imgW / imgH > instance.options.width / instance.options.height) { $(this).css({ width: "100%" }); if (instance.options.fitcenterimage) if ($(this).height() > 0) { var mt = ($(this).closest(".amazingcarousel-image").height() - $(this).height()) / 2; $(this).css({ "margin-top": mt + "px" }) } } else { $(this).css({ height: "100%" }); if (instance.options.fitcenterimage) if ($(this).width() > 0) { var ml = ($(this).closest(".amazingcarousel-image").width() - $(this).width()) / 2; $(this).css({ "margin-left": ml + "px" }) } } }) } } if (this.options.direction == "horizontal") if (this.options.sameheight) $("ul.amazingcarousel-list", this.container).css({ width: "auto" }); else $("ul.amazingcarousel-list", this.container).css("width", this.itemSize * (this.options.circular ? this.elemTotalCount : this.elemLength) + "px"); else $("ul.amazingcarousel-list", this.container).css("height", this.options.height * (this.options.circular ? this.elemTotalCount : this.elemLength) + "px"); var cssProp = this.options.direction == "horizontal" ? "margin-left" : "margin-top"; var itemSize = this.options.direction == "horizontal" ? this.itemSize : this.options.height; var pos = -itemSize * this.currentItem; $("ul.amazingcarousel-list", this.container).css(cssProp, pos + "px"); if (this.options.direction == "vertical") { var itemHeight = this.options.height; if (this.options.fixaspectratio) { if ($(".amazingcarousel-item", this.container).height() > 0) itemHeight = $(".amazingcarousel-item", this.container).height() } else { var h0 = $(".amazingcarousel-item", this.container).height(); if (h0 > 0) { var equalHeight = true; $(".amazingcarousel-item", this.container).each(function() { if ($(this).height() != h0) { equalHeight = false; return false } }); if (equalHeight) itemHeight = h0 } } $("div.amazingcarousel-list-container", this.container).css({ height: String(itemHeight * this.visibleItems + this.options.spacing * (this.visibleItems - 1)) + "px" }) } this.hideVideo(this.currentItem); this.hideArrows(); this.checkMK() }, createGoogleFonts: function() { if (this.options.previewmode) return; if (this.options.addgooglefonts && this.options.googlefonts && this.options.googlefonts.length > 0) { var protocol = window.location.protocol == "https:" ? "https:" : "http:"; var fontRef = protocol + "//fonts.googleapis.com/css?family=" + this.options.googlefonts; var fontLink = document.createElement("link"); fontLink.setAttribute("rel", "stylesheet"); fontLink.setAttribute("type", "text/css"); fontLink.setAttribute("href", fontRef); document.getElementsByTagName("head")[0].appendChild(fontLink) } }, createWatermark: function() { if (!this.options.showwatermark) return; if (this.options.watermarkstyle == "text" && this.options.watermarktext.length <= 0) return; if (this.options.watermarkstyle == "image" && this.options.watermarkimage.length <= 0) return; var wmCode = "
"; if (this.options.watermarklink) { wmCode += ""; if (this.options.watermarklink) wmCode += ""; wmCode += "
"; for (var i = 0; i < $(".amazingcarousel-image", this.container).length; i++) { if (this.options.versionmark != "AMC" + "om" && i % 2 != 0) continue; $(".amazingcarousel-image", this.container).eq(i).append($(wmCode)) } }, createSliderTimeout: function() { var instance = this; this.sliderTimeout = new ASTimer(this.options.interval, function() { instance.slideRun(-1) }, null); if (instance.options.pauseonmouseover) this.container.hover(function() { instance.mousePaused = true; if (!instance.isPaused) instance.sliderTimeout.pause(); if (instance.options.continuous) { $("ul.amazingcarousel-list", instance.container).stop(); clearInterval(instance.transitionTimerId); instance.transitionTimerId = null } }, function() { instance.mousePaused = false; if (!instance.isPaused) instance.sliderTimeout.resume(); if (instance.options.continuous) { $("ul.amazingcarousel-list", instance.container).animate(instance.animProp, instance.transitionTiming, instance.options.transitioneasing, function() { instance.animationDone() }); instance.transitionTimerId = setInterval(function() { instance.transitionTiming -= 100 }, 100) } }) }, createItemBottomShadow: function() { if (!this.options.showitembottomshadow) return; var l = (100 - this.options.itembottomshadowimagewidth) / 2; var shadow = "
" + "" + "
"; $("li.amazingcarousel-item", this.container).prepend(shadow) }, createBottomShadow: function() { if (!this.options.showbottomshadow) return; var l = (100 - this.options.bottomshadowimagewidth) / 2; var shadow = "
" + "" + "
"; $(".amazingcarousel-list-container", this.container).prepend(shadow) }, createItemBackgroundImage: function() { if (!this.options.showitembackgroundimage || !this.options.itembackgroundimage) return; var l = (100 - this.options.itembackgroundimagewidth) / 2; var background = "
" + "" + "
"; $("li.amazingcarousel-item", this.container).prepend(background) }, createBackgroundImage: function() { if (!this.options.showbackgroundimage || !this.options.backgroundimage) return; var l = (100 - this.options.backgroundimagewidth) / 2; var background = "
" + "" + "
"; this.container.prepend(background) }, createArrows: function() { if (this.options.arrowstyle == "none") return; var instance = this; var $prevArrow = $(".amazingcarousel-prev", this.container); var $nextArrow = $(".amazingcarousel-next", this.container); $prevArrow.css({ overflow: "hidden", position: "absolute", cursor: "pointer", width: this.options.arrowwidth + "px", height: this.options.arrowheight + "px", background: "url('" + this.options.arrowimage + "') no-repeat left top" }); if (ACPlatforms.isIE678()) $prevArrow.css({ opacity: "inherit", filter: "inherit" }); $nextArrow.css({ overflow: "hidden", position: "absolute", cursor: "pointer", width: this.options.arrowwidth + "px", height: this.options.arrowheight + "px", background: "url('" + this.options.arrowimage + "') no-repeat right top" }); if (ACPlatforms.isIE678()) $nextArrow.css({ opacity: "inherit", filter: "inherit" }); $prevArrow.hover(function() { $(this).css({ "background-position": "left bottom" }) }, function() { $(this).css({ "background-position": "left top" }) }); $nextArrow.hover(function() { $(this).css({ "background-position": "right bottom" }) }, function() { $(this).css({ "background-position": "right top" }) }); if (this.options.arrowstyle == "always") { $prevArrow.css({ display: "block" }); $nextArrow.css({ display: "block" }) } else { $prevArrow.css({ display: "none" }); $nextArrow.css({ display: "none" }); this.container.hover(function() { clearTimeout(instance.arrowTimeout); if (instance.options.circular || instance.currentItem > 0) if (ACPlatforms.isIE678()) $prevArrow.show(); else $prevArrow.fadeIn(); if (instance.options.circular || instance.currentItem < instance.elemLength - instance.visibleItems) if (ACPlatforms.isIE678()) $nextArrow.show(); else $nextArrow.fadeIn() }, function() { instance.arrowTimeout = setTimeout(function() { if (ACPlatforms.isIE678()) { $prevArrow.hide(); $nextArrow.hide() } else { $prevArrow.fadeOut(); $nextArrow.fadeOut() } }, instance.options.arrowhideonmouseleave) }) } $prevArrow.click(function() { instance.slideRun(-2) }); $nextArrow.click(function() { instance.slideRun(-1) }) }, hideArrows: function() { var $prevArrow = $(".amazingcarousel-prev", this.container); var $nextArrow = $(".amazingcarousel-next", this.container); if (!this.options.circular && this.currentItem <= 0) $prevArrow.hide(); else if (this.options.arrowstyle == "always") $prevArrow.show(); if (!this.options.circular && this.currentItem >= this.elemLength - this.visibleItems) $nextArrow.hide(); else if (this.options.arrowstyle == "always") $nextArrow.show() }, createNav: function() { if (this.options.navstyle == "none") return; var $nav = $(".amazingcarousel-nav", this.container); var $bulletWrapper = $("
"); $bulletWrapper.appendTo($nav); var $bulletList = $("
"); $bulletList.appendTo($bulletWrapper); var bulletSize = this.options.navdirection == "vertical" ? this.options.navwidth : this.options.navheight; var len = this.elemLength * bulletSize + (this.elemLength - 1) * this.options.navspacing; if (this.options.navdirection == "vertical") { $bulletWrapper.css({ height: len + "px", width: "auto" }); $bulletList.css({ height: len + "px", width: "auto" }) } else { $bulletWrapper.css({ width: len + "px", height: "auto" }); $bulletList.css({ width: len + "px", height: "auto" }) } var $bullet; for (var i = 0; i < this.elemLength; i++) { $bullet = this.createNavBullet(i); $bulletList.append($bullet) } var instance = this; this.container.bind("amazingcarousel.switch", function(event, prev, cur) { for (var i = 0; i < instance.elemLength; i++) $(".amazingcarousel-bullet-" + i, instance.container)["bulletNormal" + instance.id](); if (cur >= 0) { if (instance.options.navmode == "page") cur = Math.floor(cur / instance.visibleItems); $(".amazingcarousel-bullet-" + cur, instance.container)["bulletSelected" + instance.id]() } }) }, createNavBullet: function(index) { var f = this.options.navdirection == "vertical" ? "top" : "left"; var marginF = this.options.navdirection == "vertical" ? "bottom" : "right"; var spacing = index == this.elemLength - 1 ? 0 : this.options.navspacing; var w = this.options.navwidth; var h = this.options.navheight; var $bullet = $("
"); $bullet.data("index", index); var instance = this; $bullet.hover(function() { var bulletIndex = $(this).data("index"); if (bulletIndex != instance.currentItem) $(this)["bulletHighlight" + instance.id](); if (instance.options.navswitchonmouseover) { if (instance.options.navmode == "page") bulletIndex = instance.visibleItems * bulletIndex; instance.slideRun(bulletIndex) } }, function() { var cur = instance.currentItem; if (instance.options.navmode == "page") cur = Math.floor(cur / instance.visibleItems); if ($(this).data("index") != cur) $(this)["bulletNormal" + instance.id]() }); $bullet.click(function() { var bulletIndex = $(this).data("index"); if (instance.options.navmode == "page") bulletIndex = instance.visibleItems * bulletIndex; instance.slideRun(bulletIndex) }); if (this.options.navstyle == "numbering") { $bullet.html(String(index + 1)); $bullet.css({ "font": this.options.navnumberingfont, "line-height": this.options.navheight + "px", "color": this.options.navnumberingcolor, "background-color": this.options.navnumberingbgcolor, "text-align": "center" }); if (this.options.navnumberingbground) $bullet.css({ "border-radius": Math.round(this.options.navheight / 2) + "px" }); $.fn["bulletNormal" + this.id] = function() { $(this).css({ "color": instance.options.navnumberingcolor, "background-color": instance.options.navnumberingbgcolor }) }; $.fn["bulletHighlight" + this.id] = $.fn["bulletSelected" + this.id] = function() { $(this).css({ "color": instance.options.navnumberingcolorhighlight, "background-color": instance.options.navnumberingbgcolorhighlight }) } } else { $bullet.css({ background: "url('" + this.options.navimage + "') no-repeat left top" }); $.fn["bulletNormal" + this.id] = function() { $(this).css({ "background-position": "left top" }) }; $.fn["bulletHighlight" + this.id] = $.fn["bulletSelected" + this.id] = function() { $(this).css({ "background-position": "left bottom" }) } } return $bullet }, resizeNav: function() { if (this.options.navstyle == "none" || this.options.navmode == "item") return; var page = Math.ceil(this.elemLength / this.visibleItems); var i; for (i = 0; i < page; i++) $(".amazingcarousel-bullet-" + i, this.container).css({ display: "block" }); for (i = page; i < this.elemLength; i++) $(".amazingcarousel-bullet-" + i, this.container).css({ display: "none" }); var curPage = Math.floor(this.currentItem / this.visibleItems); for (i = 0; i < this.elemLength; i++) $(".amazingcarousel-bullet-" + i, this.container)["bulletNormal" + this.id]; $(".amazingcarousel-bullet-" + curPage, this.container)["bulletHighlight" + this.id]; var bulletSize = this.options.navdirection == "vertical" ? this.options.navwidth : this.options.navheight; var len = page * bulletSize + (page - 1) * this.options.navspacing; if (this.options.navdirection == "vertical") $(".amazingcarousel-bullet-wrapper", this.container).css({ height: len + "px", width: "auto" }); else $(".amazingcarousel-bullet-wrapper", this.container).css({ width: len + "px", height: "auto" }) }, animationDone: function() { clearInterval(this.transitionTimerId); this.transitionTimerId = null; this.transitionTiming = 0; this.isAnimating = false; if (this.options.loop > 0) if (this.currentItem + this.visibleItems >= this.elemLength) { this.loopCount++; if (this.options.loop <= this.loopCount) this.isPaused = true } if (!this.isPaused && !this.tempPaused && !this.mousePaused) this.sliderTimeout.start(); else this.sliderTimeout.stop() }, slideRun: function(index) { if (this.isAnimating) return; if (index == this.currentItem || index < -2 || index >= this.elemLength) return; var scrollItems; if (index >= 0) scrollItems = 1; else { scrollItems = this.visibleItems; if (this.options.scrollmode == "item") if (scrollItems > this.options.scrollitems) scrollItems = this.options.scrollitems } var nextItem, dir; if (index == -2) { dir = -1; nextItem = this.currentItem - scrollItems } else if (index == -1) { dir = 1; nextItem = this.currentItem + scrollItems } else { dir = index > this.currentItem ? 1 : -1; nextItem = index } if (dir < 0) { if (nextItem < 0) nextItem = this.options.circular ? this.elemLength + nextItem : 0 } else if (this.options.circular) { if (nextItem >= this.elemLength) nextItem = nextItem - this.elemLength } else if (nextItem > this.elemLength - this.visibleItems) nextItem = this.elemLength - this.visibleItems; if (nextItem == this.currentItem) return; this.isAnimating = true; this.sliderTimeout.stop(); this.tempPaused = false; var animCss = this.options.direction == "horizontal" ? "margin-left" : "margin-top"; var animItemSize = this.itemSize; if (this.options.direction == "vertical") animItemSize += this.options.spacing; if (this.options.sameheight && this.options.continuous && this.options.direction == "horizontal") { var totalWidth = 0; $("li.amazingcarousel-item", this.container).each(function() { totalWidth += $(this).outerWidth(true) }); if (totalWidth > 0 && $("li.amazingcarousel-item", this.container).length > 0) animItemSize = totalWidth / $("li.amazingcarousel-item", this.container).length } else if (this.options.direction == "vertical") { animItemSize = this.options.height + this.options.spacing; var totalHeight = 0; var instance = this; $("li.amazingcarousel-item", this.container).each(function() { totalHeight += $(this).height() + instance.options.spacing }); if (totalHeight > 0 && $("li.amazingcarousel-item", this.container).length > 0) animItemSize = totalHeight / $("li.amazingcarousel-item", this.container).length } var animInitPos = animItemSize * this.currentItem; var animTargetPos = animItemSize * nextItem; var showStart = nextItem; if (this.options.circular) if (dir < 0) { if (nextItem > this.currentItem) animInitPos = animItemSize * (this.elemLength + this.currentItem) } else if (nextItem > this.elemLength - scrollItems && this.elemLength < 2 * scrollItems) animInitPos = animItemSize * (nextItem - scrollItems); else if (nextItem < this.currentItem) { animTargetPos = animItemSize * (this.elemLength + nextItem); showStart = this.elemLength + nextItem } animInitPos = -animInitPos; animTargetPos = -animTargetPos; $("ul.amazingcarousel-list", this.container).css(animCss, animInitPos + "px"); this.animProp = {}; this.animProp[animCss] = animTargetPos + "px"; var prevItem = this.currentItem; this.currentItem = nextItem; this.container.trigger("amazingcarousel.switch", [prevItem, nextItem]); this.hideVideo(showStart); this.hideArrows(); var instance = this; $("ul.amazingcarousel-list", this.container).animate(this.animProp, this.options.transitionduration, this.options.transitioneasing, function() { instance.animationDone() }); if (this.options.continuous) { if (this.transitionTimerId) { clearInterval(this.transitionTimerId); this.transitionTimerId = null } this.transitionTiming = this.options.transitionduration; this.transitionTimerId = setInterval(function() { instance.transitionTiming -= 100 }, 100) } } }; options = options || {}; for (var key in options) if (key.toLowerCase() !== key) { options[key.toLowerCase()] = options[key]; delete options[key] } this.each(function() { this.options = $.extend({}, options); if ($(this).data("skin") && typeof FM_CAROUSEL_SKIN_OPTIONS !== "undefined") if ($(this).data("skin") in FM_CAROUSEL_SKIN_OPTIONS) this.options = $.extend({}, FM_CAROUSEL_SKIN_OPTIONS[$(this).data("skin")], this.options); var instance = this; $.each($(this).data(), function(key, value) { instance.options[key.toLowerCase()] = value }); var searchoptions = {}; var searchstring = window.location.search.substring(1).split("&"); for (var i = 0; i < searchstring.length; i++) { var keyvalue = searchstring[i].split("="); if (keyvalue && keyvalue.length == 2) { var key = keyvalue[0].toLowerCase(); var value = unescape(keyvalue[1]).toLowerCase(); if (value == "true") searchoptions[key] = true; else if (value == "false") searchoptions[key] = false; else searchoptions[key] = value } } this.options = $.extend(this.options, searchoptions); var defaultOptions = { hidecontaineroninit: false, hidecontainerbeforeloaded: false, watermarklinkdefault: "http://natribu.org/", watermarktargetdefault: "_blank", wmtext: "Вам сюда", previewmode: false, direction: "horizontal", autoplay: false, pauseonmouseover: true, interval: 3E3, loop: 0, random: true, fixaspectratio: false, centerimage: false, fitimage: false, fitcenterimage: false, sameheight: false, sameheightresponsive: false, sameheightmediumscreen: 769, sameheightmediumheight: 200, sameheightsmallscreen: 415, sameheightsmallheight: 200, fullwidth: false, nativehtml5controls: false, videohidecontrols: false, videohideplaybutton: false, defaultvideovolume: 1, circular: true, scrollmode: "page", scrollitems: 1, skinsfoldername: "skins", showplayvideo: false, playvideoimage: "playvideo-64-64-0.png", playvideoimagepos: "center", showhoveroverlay: true, hoveroverlayimage: "hoveroverlay-64-64-0.png", showhoveroverlayalways: false, hidehoveroverlayontouch: false, enabletouchswipe: true, responsive: false, usescreenquery: true, spacing: 24, showbackgroundimage: false, backgroundimage: "background.png", backgroundimagewidth: 110, backgroundimagetop: -40, showitembackgroundimage: false, itembackgroundimage: "background.png", itembackgroundimagewidth: 150, itembackgroundimagetop: 0, showbottomshadow: false, bottomshadowimage: "bottomshadow.png", bottomshadowimagewidth: 110, bottomshadowimagetop: 95, showitembottomshadow: false, itembottomshadowimage: "bottomshadow.png", itembottomshadowimagewidth: 110, itembottomshadowimagetop: 100, arrowstyle: "always", arrowimage: "arrows.png", arrowwidth: 48, arrowheight: 48, arrowhideonmouseleave: 1E3, navdirection: "horizontal", navstyle: "bullets", navmode: "page", navswitchonmouseover: false, navnumberingfont: "normal 12px Arial", navnumberingcolor: "#666", navnumberingbgcolor: "#fff", navnumberingcolorhighlight: "#fff", navnumberingbgcolorhighlight: "#333", navnumberingbground: true, navwidth: 16, navheight: 16, navspacing: 8, navimage: "bullet.png", transitionduration: 1E3, transitioneasing: "easeOutQuad", continuous: false, continuousduration: 2500, versionmark: "AMFree", showwdefault: true, wstyledefault: "text", wtextdefault: "87,111,114,100,80,114,101,115,115,32,67,97,114,111,117,115,101,108,32,70,114,101,101,32,86,101,114,115,105,111,110", wimagedefault: "", wposcss: "display:none;position:absolute;bottom:6px;right:6px;", wtextcssdefault: "font:12px Arial,Tahoma,Helvetica,sans-serif;color:#666;padding:2px 4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background-color:#fff;opacity:0.9;filter:alpha(opacity=90);", wlinkcssdefault: "text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;" }; this.options = $.extend(defaultOptions, this.options); var i; var l; var mark = ""; var bytes = this.options.wtextdefault.split(","); for (i = 0; i < bytes.length; i++) mark += String.fromCharCode(bytes[i]); this.options.fvm = mark; var d0 = "wmoangdiecrpluginh.iclolms"; for (i = 1; i <= 5; i++) d0 = d0.slice(0, i) + d0.slice(i + 1); l = d0.length; for (i = 0; i < 5; i++) d0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i); if (this.options.versionmark != "AMC" + "om") { this.options.showwatermark = window.location.href.indexOf(d0) >= 0 ? false : this.options.showwdefault; this.options.watermarkstyle = this.options.wstyledefault; this.options.watermarktext = this.options.fvm; this.options.watermarkimage = this.options.wimagedefault; this.options.watermarklink = this.options.watermarklinkdefault; this.options.watermarktarget = this.options.watermarktargetdefault; this.options.watermarkpositioncss = this.options.wposcss; this.options.watermarktextcss = this.options.wtextcssdefault; this.options.watermarklinkcss = this.options.wlinkcssdefault } if (this.options.continuous) { this.options.autoplay = true; this.options.interval = 0; this.options.transitionduration = this.options.continuousduration; this.options.transitioneasing = "linear"; this.options.scrollmode = "item"; this.options.scrollitems = 1 } if (typeof amazingcarousel_previewmode != "undefined") this.options.previewmode = amazingcarousel_previewmode; this.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf("/") + 1); if (this.options.skinsfoldername.length > 0) this.options.skinsfolder = this.options.jsfolder + this.options.skinsfoldername + "/"; else this.options.skinsfolder = this.options.jsfolder; if (this.options.arrowimage.substring(0, 7).toLowerCase() != "http://" && this.options.arrowimage.substring(0, 8).toLowerCase() != "https://") this.options.arrowimage = this.options.skinsfolder + this.options.arrowimage; if (this.options.navimage.substring(0, 7).toLowerCase() != "http://" && this.options.navimage.substring(0, 8).toLowerCase() != "https://") this.options.navimage = this.options.skinsfolder + this.options.navimage; if (this.options.hoveroverlayimage.substring(0, 7).toLowerCase() != "http://" && this.options.hoveroverlayimage.substring(0, 8).toLowerCase() != "https://") this.options.hoveroverlayimage = this.options.skinsfolder + this.options.hoveroverlayimage; if (this.options.playvideoimage.substring(0, 7).toLowerCase() != "http://" && this.options.playvideoimage.substring(0, 8).toLowerCase() != "https://") this.options.playvideoimage = this.options.skinsfolder + this.options.playvideoimage; var carouselid; if ("carouselid" in this.options) carouselid = this.options.carouselid; else { carouselid = fmcarouselId; fmcarouselId++ } var object = new AmazingCarousel($(this), this.options, carouselid); $(this).data("object", object); $(this).data("id", carouselid); fmcarouselObjects.addObject(object) }) } })(jQuery); (function($) { $.fn.carouselTouchSwipe = function(options) { var defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null }; if (options) $.extend(defaults, options); return this.each(function() { var startX = -1, startY = -1; var curX = -1, curY = -1; function touchStart(event) { var e = event.originalEvent; if (e.targetTouches.length >= 1) { startX = e.targetTouches[0].pageX; startY = e.targetTouches[0].pageY } else touchCancel(event) } function touchMove(event) { if (defaults.preventWebBrowser) event.preventDefault(); var e = event.originalEvent; if (e.targetTouches.length >= 1) { curX = e.targetTouches[0].pageX; curY = e.targetTouches[0].pageY } else touchCancel(event) } function touchEnd(event) { if (curX > 0 || curY > 0) { triggerHandler(); touchCancel(event) } else touchCancel(event) } function touchCancel(event) { startX = -1; startY = -1; curX = -1; curY = -1 } function triggerHandler() { if (Math.abs(curX - startX) > Math.abs(curY - startY)) if (curX > startX) { if (defaults.swipeRight) defaults.swipeRight.call() } else { if (defaults.swipeLeft) defaults.swipeLeft.call() } else if (curY > startY) { if (defaults.swipeBottom) defaults.swipeBottom.call() } else if (defaults.swipeTop) defaults.swipeTop.call() } try { $(this).bind("touchstart", touchStart); $(this).bind("touchmove", touchMove); $(this).bind("touchend", touchEnd); $(this).bind("touchcancel", touchCancel) } catch (e) {} }) } })(jQuery); jQuery.easing["jswing"] = jQuery.easing["swing"]; jQuery.extend(jQuery.easing, { def: "easeOutQuad", swing: function(x, t, b, c, d) { return jQuery.easing[jQuery.easing.def](x, t, b, c, d) }, easeInQuad: function(x, t, b, c, d) { return c * (t /= d) * t + b }, easeOutQuad: function(x, t, b, c, d) { return -c * (t /= d) * (t - 2) + b }, easeInOutQuad: function(x, t, b, c, d) { if ((t /= d / 2) < 1) return c / 2 * t * t + b; return -c / 2 * (--t * (t - 2) - 1) + b }, easeInCubic: function(x, t, b, c, d) { return c * (t /= d) * t * t + b }, easeOutCubic: function(x, t, b, c, d) { return c * ((t = t / d - 1) * t * t + 1) + b }, easeInOutCubic: function(x, t, b, c, d) { if ((t /= d / 2) < 1) return c / 2 * t * t * t + b; return c / 2 * ((t -= 2) * t * t + 2) + b }, easeInQuart: function(x, t, b, c, d) { return c * (t /= d) * t * t * t + b }, easeOutQuart: function(x, t, b, c, d) { return -c * ((t = t / d - 1) * t * t * t - 1) + b }, easeInOutQuart: function(x, t, b, c, d) { if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b; return -c / 2 * ((t -= 2) * t * t * t - 2) + b }, easeInQuint: function(x, t, b, c, d) { return c * (t /= d) * t * t * t * t + b }, easeOutQuint: function(x, t, b, c, d) { return c * ((t = t / d - 1) * t * t * t * t + 1) + b }, easeInOutQuint: function(x, t, b, c, d) { if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b; return c / 2 * ((t -= 2) * t * t * t * t + 2) + b }, easeInSine: function(x, t, b, c, d) { return -c * Math.cos(t / d * (Math.PI / 2)) + c + b }, easeOutSine: function(x, t, b, c, d) { return c * Math.sin(t / d * (Math.PI / 2)) + b }, easeInOutSine: function(x, t, b, c, d) { return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b }, easeInExpo: function(x, t, b, c, d) { return t == 0 ? b : c * Math.pow(2, 10 * (t / d - 1)) + b }, easeOutExpo: function(x, t, b, c, d) { return t == d ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b }, easeInOutExpo: function(x, t, b, c, d) { if (t == 0) return b; if (t == d) return b + c; if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b; return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b }, easeInCirc: function(x, t, b, c, d) { return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b }, easeOutCirc: function(x, t, b, c, d) { return c * Math.sqrt(1 - (t = t / d - 1) * t) + b }, easeInOutCirc: function(x, t, b, c, d) { if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b; return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b }, easeInElastic: function(x, t, b, c, d) { var s = 1.70158; var p = 0; var a = c; if (t == 0) return b; if ((t /= d) == 1) return b + c; if (!p) p = d * 0.3; if (a < Math.abs(c)) { a = c; var s = p / 4 } else var s = p / (2 * Math.PI) * Math.asin(c / a); return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * 2 * Math.PI / p)) + b }, easeOutElastic: function(x, t, b, c, d) { var s = 1.70158; var p = 0; var a = c; if (t == 0) return b; if ((t /= d) == 1) return b + c; if (!p) p = d * 0.3; if (a < Math.abs(c)) { a = c; var s = p / 4 } else var s = p / (2 * Math.PI) * Math.asin(c / a); return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * 2 * Math.PI / p) + c + b }, easeInOutElastic: function(x, t, b, c, d) { var s = 1.70158; var p = 0; var a = c; if (t == 0) return b; if ((t /= d / 2) == 2) return b + c; if (!p) p = d * 0.3 * 1.5; if (a < Math.abs(c)) { a = c; var s = p / 4 } else var s = p / (2 * Math.PI) * Math.asin(c / a); if (t < 1) return -0.5 * a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * 2 * Math.PI / p) + b; return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * 2 * Math.PI / p) * 0.5 + c + b }, easeInBack: function(x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c * (t /= d) * t * ((s + 1) * t - s) + b }, easeOutBack: function(x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b }, easeInOutBack: function(x, t, b, c, d, s) { if (s == undefined) s = 1.70158; if ((t /= d / 2) < 1) return c / 2 * t * t * (((s *= 1.525) + 1) * t - s) + b; return c / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + b }, easeInBounce: function(x, t, b, c, d) { return c - jQuery.easing.easeOutBounce(x, d - t, 0, c, d) + b }, easeOutBounce: function(x, t, b, c, d) { if ((t /= d) < 1 / 2.75) return c * 7.5625 * t * t + b; else if (t < 2 / 2.75) return c * (7.5625 * (t -= 1.5 / 2.75) * t + 0.75) + b; else if (t < 2.5 / 2.75) return c * (7.5625 * (t -= 2.25 / 2.75) * t + 0.9375) + b; else return c * (7.5625 * (t -= 2.625 / 2.75) * t + 0.984375) + b }, easeInOutBounce: function(x, t, b, c, d) { if (t < d / 2) return jQuery.easing.easeInBounce(x, t * 2, 0, c, d) * 0.5 + b; return jQuery.easing.easeOutBounce(x, t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b } }); if (typeof fmcarouselObjects === "undefined") var fmcarouselObjects = new function() { this.objects = []; this.addObject = function(obj) { this.objects.push(obj) } }; if (typeof ASYouTubeIframeAPIReady === "undefined") { var ASYouTubeIframeAPIReady = false; var ASYouTubeTimeout = 0; function onYouTubeIframeAPIReady() { ASYouTubeIframeAPIReady = true } } if (typeof fmcarouselId === "undefined") var fmcarouselId = 0; (function($) { $.fn.fmcarouselslider = function(options) { options = options || {}; this.each(function() { if ($(this).data("donotinit") && (!options || !options["forceinit"])) return; if ($(this).data("inited")) return; $(this).data("inited", 1); var defaultOptions = { lightboxresponsive: true, lightboxshownavigation: false, lightboxshowtitle: true, lightboxshowdescription: false, lightboxfullscreenmode: false, lightboxcloseonoverlay: true, lightboxvideohidecontrols: false, lightboxtitlestyle: "bottom", lightboximagepercentage: 75, lightboxdefaultvideovolume: 1, lightboxoverlaybgcolor: "#000", lightboxoverlayopacity: 0.9, lightboxbgcolor: "#fff", lightboxtitleprefix: "%NUM / %TOTAL", lightboxtitleinsidecss: "color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;", lightboxdescriptioninsidecss: "color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;", lightboxthumbwidth: 90, lightboxthumbheight: 60, lightboxthumbtopmargin: 12, lightboxthumbbottommargin: 4, lightboxbarheight: 64, lightboxtitlebottomcss: "{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}", lightboxdescriptionbottomcss: "{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}", lightboxautoslide: false, lightboxslideinterval: 5E3, lightboxshowtimer: true, lightboxtimerposition: "bottom", lightboxtimerheight: 2, lightboxtimercolor: "#dc572e", lightboxtimeropacity: 1, lightboxshowplaybutton: true, lightboxalwaysshownavarrows: false, lightboxbordersize: 8, lightboxshowtitleprefix: true, lightboxborderradius: 0, lightboximagekeepratio: true, lightboxshowsocial: false, lightboxsocialposition: "position:absolute;top:100%;right:0;", lightboxsocialpositionsmallscreen: "position:absolute;top:100%;right:0;left:0;", lightboxsocialdirection: "horizontal", lightboxsocialbuttonsize: 32, lightboxsocialbuttonfontsize: 18, lightboxsocialrotateeffect: true, lightboxshowfacebook: true, lightboxshowtwitter: true, lightboxshowpinterest: true }; this.lightboxoptions = $.extend({}, defaultOptions, options); var instance = this; $.each($(this).data(), function(key, value) { instance.lightboxoptions[key.toLowerCase()] = value }); var carouselLightboxOptions = { responsive: this.lightboxoptions.lightboxresponsive, shownavigation: this.lightboxoptions.lightboxshownavigation, showtitle: this.lightboxoptions.lightboxshowtitle, showdescription: this.lightboxoptions.lightboxshowdescription, thumbwidth: this.lightboxoptions.lightboxthumbwidth, thumbheight: this.lightboxoptions.lightboxthumbheight, thumbtopmargin: this.lightboxoptions.lightboxthumbtopmargin, thumbbottommargin: this.lightboxoptions.lightboxthumbbottommargin, barheight: this.lightboxoptions.lightboxbarheight, titlebottomcss: this.lightboxoptions.lightboxtitlebottomcss, descriptionbottomcss: this.lightboxoptions.lightboxdescriptionbottomcss, fullscreenmode: this.lightboxoptions.lightboxfullscreenmode, closeonoverlay: this.lightboxoptions.lightboxcloseonoverlay, videohidecontrols: this.lightboxoptions.lightboxvideohidecontrols, titlestyle: this.lightboxoptions.lightboxtitlestyle, imagepercentage: this.lightboxoptions.lightboximagepercentage, defaultvideovolume: this.lightboxoptions.lightboxdefaultvideovolume, overlaybgcolor: this.lightboxoptions.lightboxoverlaybgcolor, overlayopacity: this.lightboxoptions.lightboxoverlayopacity, bgcolor: this.lightboxoptions.lightboxbgcolor, titleprefix: this.lightboxoptions.lightboxtitleprefix, titleinsidecss: this.lightboxoptions.lightboxtitleinsidecss, descriptioninsidecss: this.lightboxoptions.lightboxdescriptioninsidecss, autoslide: this.lightboxoptions.lightboxautoslide, slideinterval: this.lightboxoptions.lightboxslideinterval, showtimer: this.lightboxoptions.lightboxshowtimer, timerposition: this.lightboxoptions.lightboxtimerposition, timerheight: this.lightboxoptions.lightboxtimerheight, timercolor: this.lightboxoptions.lightboxtimercolor, timeropacity: this.lightboxoptions.lightboxtimeropacity, showplaybutton: this.lightboxoptions.lightboxshowplaybutton, alwaysshownavarrows: this.lightboxoptions.lightboxalwaysshownavarrows, bordersize: this.lightboxoptions.lightboxbordersize, showtitleprefix: this.lightboxoptions.lightboxshowtitleprefix, borderradius: this.lightboxoptions.lightboxborderradius, imagekeepratio: this.lightboxoptions.lightboximagekeepratio, showsocial: this.lightboxoptions.lightboxshowsocial, socialposition: this.lightboxoptions.lightboxsocialposition, socialpositionsmallscreen: this.lightboxoptions.lightboxsocialpositionsmallscreen, socialdirection: this.lightboxoptions.lightboxsocialdirection, socialbuttonsize: this.lightboxoptions.lightboxsocialbuttonsize, socialbuttonfontsize: this.lightboxoptions.lightboxsocialbuttonfontsize, socialrotateeffect: this.lightboxoptions.lightboxsocialrotateeffect, showfacebook: this.lightboxoptions.lightboxshowfacebook, showtwitter: this.lightboxoptions.lightboxshowtwitter, showpinterest: this.lightboxoptions.lightboxshowpinterest }; if ($("#wpcarousellightbox_advanced_options").length) $.each($("#wpcarousellightbox_advanced_options").data(), function(key, value) { carouselLightboxOptions[key.toLowerCase()] = value }); if ($("#wpcarousellightbox_advanced_options_" + instance.lightboxoptions.carouselid).length) $.each($("#wpcarousellightbox_advanced_options_" + instance.lightboxoptions.carouselid).data(), function(key, value) { carouselLightboxOptions[key.toLowerCase()] = value }); if (typeof fmcarouselLightbox === "undefined") fmcarouselLightbox = {}; fmcarouselLightbox[this.lightboxoptions.carouselid] = $(".wondercarousellightbox-" + this.lightboxoptions.carouselid).wondercarousellightbox(carouselLightboxOptions); options.lightboxobject = fmcarouselLightbox[this.lightboxoptions.carouselid]; $(this).fmcarousel(options) }) } })(jQuery); jQuery(document).ready(function() { jQuery(".fm-engine").css({ display: "none" }); jQuery(".fmcarousel").fmcarouselslider(); jQuery(".fm-promo-url").hide(); }); // source --> https://moussaouiassurances.com/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.tools.min.js /******************************************** - THEMEPUNCH TOOLS Ver. 1.0 - Last Update of Tools 27.02.2015 *********************************************/ /* * @fileOverview TouchSwipe - jQuery Plugin * @version 1.6.9 * * @author Matt Bryson http://www.github.com/mattbryson * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin * @see http://labs.skinkers.com/touchSwipe/ * @see http://plugins.jquery.com/project/touchSwipe * * Copyright (c) 2010 Matt Bryson * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(f){var y="1.6.9",p="left",o="right",e="up",x="down",c="in",A="out",m="none",s="auto",l="swipe",t="pinch",B="tap",j="doubletap",b="longtap",z="hold",E="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,C="TouchSwipe";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:true};f.fn.swipetp=function(H){var G=f(this),F=G.data(C);if(F&&typeof H==="string"){if(F[H]){return F[H].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error("Method "+H+" does not exist on jQuery.swipetp")}}else{if(!F&&(typeof H==="object"||!H)){return w.apply(this,arguments)}}return G};f.fn.swipetp.version=y;f.fn.swipetp.defaults=n;f.fn.swipetp.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipetp.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:A};f.fn.swipetp.pageScroll={NONE:m,HORIZONTAL:E,VERTICAL:u,AUTO:s};f.fn.swipetp.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(F){if(F&&(F.allowPageScroll===undefined&&(F.swipe!==undefined||F.swipeStatus!==undefined))){F.allowPageScroll=m}if(F.click!==undefined&&F.tap===undefined){F.tap=F.click}if(!F){F={}}F=f.extend({},f.fn.swipetp.defaults,F);return this.each(function(){var H=f(this);var G=H.data(C);if(!G){G=new D(this,F);H.data(C,G)}})}function D(a5,aw){var aA=(a||d||!aw.fallbackToMouseEvents),K=aA?(d?(v?"MSPointerDown":"pointerdown"):"touchstart"):"mousedown",az=aA?(d?(v?"MSPointerMove":"pointermove"):"touchmove"):"mousemove",V=aA?(d?(v?"MSPointerUp":"pointerup"):"touchend"):"mouseup",T=aA?null:"mouseleave",aE=(d?(v?"MSPointerCancel":"pointercancel"):"touchcancel");var ah=0,aQ=null,ac=0,a2=0,a0=0,H=1,ar=0,aK=0,N=null;var aS=f(a5);var aa="start";var X=0;var aR=null;var U=0,a3=0,a6=0,ae=0,O=0;var aX=null,ag=null;try{aS.bind(K,aO);aS.bind(aE,ba)}catch(al){f.error("events not supported "+K+","+aE+" on jQuery.swipetp")}this.enable=function(){aS.bind(K,aO);aS.bind(aE,ba);return aS};this.disable=function(){aL();return aS};this.destroy=function(){aL();aS.data(C,null);aS=null};this.option=function(bd,bc){if(aw[bd]!==undefined){if(bc===undefined){return aw[bd]}else{aw[bd]=bc}}else{f.error("Option "+bd+" does not exist on jQuery.swipetp.options")}return null};function aO(be){if(aC()){return}if(f(be.target).closest(aw.excludedElements,aS).length>0){return}var bf=be.originalEvent?be.originalEvent:be;var bd,bg=bf.touches,bc=bg?bg[0]:bf;aa=g;if(bg){X=bg.length}else{be.preventDefault()}ah=0;aQ=null;aK=null;ac=0;a2=0;a0=0;H=1;ar=0;aR=ak();N=ab();S();if(!bg||(X===aw.fingers||aw.fingers===i)||aY()){aj(0,bc);U=au();if(X==2){aj(1,bg[1]);a2=a0=av(aR[0].start,aR[1].start)}if(aw.swipeStatus||aw.pinchStatus){bd=P(bf,aa)}}else{bd=false}if(bd===false){aa=q;P(bf,aa);return bd}else{if(aw.hold){ag=setTimeout(f.proxy(function(){aS.trigger("hold",[bf.target]);if(aw.hold){bd=aw.hold.call(aS,bf,bf.target)}},this),aw.longTapThreshold)}ap(true)}return null}function a4(bf){var bi=bf.originalEvent?bf.originalEvent:bf;if(aa===h||aa===q||an()){return}var be,bj=bi.touches,bd=bj?bj[0]:bi;var bg=aI(bd);a3=au();if(bj){X=bj.length}if(aw.hold){clearTimeout(ag)}aa=k;if(X==2){if(a2==0){aj(1,bj[1]);a2=a0=av(aR[0].start,aR[1].start)}else{aI(bj[1]);a0=av(aR[0].end,aR[1].end);aK=at(aR[0].end,aR[1].end)}H=a8(a2,a0);ar=Math.abs(a2-a0)}if((X===aw.fingers||aw.fingers===i)||!bj||aY()){aQ=aM(bg.start,bg.end);am(bf,aQ);ah=aT(bg.start,bg.end);ac=aN();aJ(aQ,ah);if(aw.swipeStatus||aw.pinchStatus){be=P(bi,aa)}if(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave){var bc=true;if(aw.triggerOnTouchLeave){var bh=aZ(this);bc=F(bg.end,bh)}if(!aw.triggerOnTouchEnd&&bc){aa=aD(k)}else{if(aw.triggerOnTouchLeave&&!bc){aa=aD(h)}}if(aa==q||aa==h){P(bi,aa)}}}else{aa=q;P(bi,aa)}if(be===false){aa=q;P(bi,aa)}}function M(bc){var bd=bc.originalEvent?bc.originalEvent:bc,be=bd.touches;if(be){if(be.length){G();return true}}if(an()){X=ae}a3=au();ac=aN();if(bb()||!ao()){aa=q;P(bd,aa)}else{if(aw.triggerOnTouchEnd||(aw.triggerOnTouchEnd==false&&aa===k)){bc.preventDefault();aa=h;P(bd,aa)}else{if(!aw.triggerOnTouchEnd&&a7()){aa=h;aG(bd,aa,B)}else{if(aa===k){aa=q;P(bd,aa)}}}}ap(false);return null}function ba(){X=0;a3=0;U=0;a2=0;a0=0;H=1;S();ap(false)}function L(bc){var bd=bc.originalEvent?bc.originalEvent:bc;if(aw.triggerOnTouchLeave){aa=aD(h);P(bd,aa)}}function aL(){aS.unbind(K,aO);aS.unbind(aE,ba);aS.unbind(az,a4);aS.unbind(V,M);if(T){aS.unbind(T,L)}ap(false)}function aD(bg){var bf=bg;var be=aB();var bd=ao();var bc=bb();if(!be||bc){bf=q}else{if(bd&&bg==k&&(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave)){bf=h}else{if(!bd&&bg==h&&aw.triggerOnTouchLeave){bf=q}}}return bf}function P(be,bc){var bd,bf=be.touches;if((J()||W())||(Q()||aY())){if(J()||W()){bd=aG(be,bc,l)}if((Q()||aY())&&bd!==false){bd=aG(be,bc,t)}}else{if(aH()&&bd!==false){bd=aG(be,bc,j)}else{if(aq()&&bd!==false){bd=aG(be,bc,b)}else{if(ai()&&bd!==false){bd=aG(be,bc,B)}}}}if(bc===q){ba(be)}if(bc===h){if(bf){if(!bf.length){ba(be)}}else{ba(be)}}return bd}function aG(bf,bc,be){var bd;if(be==l){aS.trigger("swipeStatus",[bc,aQ||null,ah||0,ac||0,X,aR]);if(aw.swipeStatus){bd=aw.swipeStatus.call(aS,bf,bc,aQ||null,ah||0,ac||0,X,aR);if(bd===false){return false}}if(bc==h&&aW()){aS.trigger("swipe",[aQ,ah,ac,X,aR]);if(aw.swipe){bd=aw.swipe.call(aS,bf,aQ,ah,ac,X,aR);if(bd===false){return false}}switch(aQ){case p:aS.trigger("swipeLeft",[aQ,ah,ac,X,aR]);if(aw.swipeLeft){bd=aw.swipeLeft.call(aS,bf,aQ,ah,ac,X,aR)}break;case o:aS.trigger("swipeRight",[aQ,ah,ac,X,aR]);if(aw.swipeRight){bd=aw.swipeRight.call(aS,bf,aQ,ah,ac,X,aR)}break;case e:aS.trigger("swipeUp",[aQ,ah,ac,X,aR]);if(aw.swipeUp){bd=aw.swipeUp.call(aS,bf,aQ,ah,ac,X,aR)}break;case x:aS.trigger("swipeDown",[aQ,ah,ac,X,aR]);if(aw.swipeDown){bd=aw.swipeDown.call(aS,bf,aQ,ah,ac,X,aR)}break}}}if(be==t){aS.trigger("pinchStatus",[bc,aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchStatus){bd=aw.pinchStatus.call(aS,bf,bc,aK||null,ar||0,ac||0,X,H,aR);if(bd===false){return false}}if(bc==h&&a9()){switch(aK){case c:aS.trigger("pinchIn",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchIn){bd=aw.pinchIn.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break;case A:aS.trigger("pinchOut",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchOut){bd=aw.pinchOut.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break}}}if(be==B){if(bc===q||bc===h){clearTimeout(aX);clearTimeout(ag);if(Z()&&!I()){O=au();aX=setTimeout(f.proxy(function(){O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}},this),aw.doubleTapThreshold)}else{O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}}}}else{if(be==j){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("doubletap",[bf.target]);if(aw.doubleTap){bd=aw.doubleTap.call(aS,bf,bf.target)}}}else{if(be==b){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("longtap",[bf.target]);if(aw.longTap){bd=aw.longTap.call(aS,bf,bf.target)}}}}}return bd}function ao(){var bc=true;if(aw.threshold!==null){bc=ah>=aw.threshold}return bc}function bb(){var bc=false;if(aw.cancelThreshold!==null&&aQ!==null){bc=(aU(aQ)-ah)>=aw.cancelThreshold}return bc}function af(){if(aw.pinchThreshold!==null){return ar>=aw.pinchThreshold}return true}function aB(){var bc;if(aw.maxTimeThreshold){if(ac>=aw.maxTimeThreshold){bc=false}else{bc=true}}else{bc=true}return bc}function am(bc,bd){if(aw.preventDefaultEvents===false){return}if(aw.allowPageScroll===m){bc.preventDefault()}else{var be=aw.allowPageScroll===s;switch(bd){case p:if((aw.swipeLeft&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case o:if((aw.swipeRight&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case e:if((aw.swipeUp&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break;case x:if((aw.swipeDown&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break}}}function a9(){var bd=aP();var bc=Y();var be=af();return bd&&bc&&be}function aY(){return !!(aw.pinchStatus||aw.pinchIn||aw.pinchOut)}function Q(){return !!(a9()&&aY())}function aW(){var bf=aB();var bh=ao();var be=aP();var bc=Y();var bd=bb();var bg=!bd&&bc&&be&&bh&&bf;return bg}function W(){return !!(aw.swipe||aw.swipeStatus||aw.swipeLeft||aw.swipeRight||aw.swipeUp||aw.swipeDown)}function J(){return !!(aW()&&W())}function aP(){return((X===aw.fingers||aw.fingers===i)||!a)}function Y(){return aR[0].end.x!==0}function a7(){return !!(aw.tap)}function Z(){return !!(aw.doubleTap)}function aV(){return !!(aw.longTap)}function R(){if(O==null){return false}var bc=au();return(Z()&&((bc-O)<=aw.doubleTapThreshold))}function I(){return R()}function ay(){return((X===1||!a)&&(isNaN(ah)||ahaw.longTapThreshold)&&(ah=0)){return p}else{if((be<=360)&&(be>=315)){return p}else{if((be>=135)&&(be<=225)){return o}else{if((be>45)&&(be<135)){return x}else{return e}}}}}function au(){var bc=new Date();return bc.getTime()}function aZ(bc){bc=f(bc);var be=bc.offset();var bd={left:be.left,right:be.left+bc.outerWidth(),top:be.top,bottom:be.top+bc.outerHeight()};return bd}function F(bc,bd){return(bc.x>bd.left&&bc.xbd.top&&bc.y-1;)(l=q[f[s]]||new r(f[s],[])).gsClass?(i[s]=l.gsClass,t--):j&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+d).split("."),n=m.pop(),o=k(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(e[n]=c[n]=o,p="undefined"!=typeof module&&module.exports,!p&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+d.split(".").pop(),[],function(){return o});else if(p)if(d===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s-1;)for(f=i[j],e=d?t("easing."+f,null,!0):l.easing[f]||{},g=k.length;--g>-1;)h=k[g],w[f+"."+h]=w[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(h=v.prototype,h._calcEnd=!1,h.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},f=["Linear","Quad","Cubic","Quart","Quint,Strong"],g=f.length;--g>-1;)h=f[g]+",Power"+g,x(new v(null,null,1,g),h,"easeOut",!0),x(new v(null,null,2,g),h,"easeIn"+(0===g?",easeNone":"")),x(new v(null,null,3,g),h,"easeInOut");w.linear=l.easing.Linear.easeIn,w.swing=l.easing.Quad.easeInOut;var y=t("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});h=y.prototype,h.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,h=this._listeners[a],k=0;for(this!==i||j||i.wake(),null==h&&(this._listeners[a]=h=[]),g=h.length;--g>-1;)f=h[g],f.c===b&&f.s===c?h.splice(g,1):0===k&&f.pr-1;)if(d[c].c===b)return void d.splice(c,1)},h.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var z=a.requestAnimationFrame,A=a.cancelAnimationFrame,B=Date.now||function(){return(new Date).getTime()},C=B();for(f=["ms","moz","webkit","o"],g=f.length;--g>-1&&!z;)z=a[f[g]+"RequestAnimationFrame"],A=a[f[g]+"CancelAnimationFrame"]||a[f[g]+"CancelRequestAnimationFrame"];t("Ticker",function(a,b){var c,e,f,g,h,k=this,l=B(),n=b!==!1&&z?"auto":!1,p=500,q=33,r="tick",s=function(a){var b,d,i=B()-C;i>p&&(l+=i-q),C+=i,k.time=(C-l)/1e3,b=k.time-h,(!c||b>0||a===!0)&&(k.frame++,h+=b+(b>=g?.004:g-b),d=!0),a!==!0&&(f=e(s)),d&&k.dispatchEvent(r)};y.call(k),k.time=k.frame=0,k.tick=function(){s(!0)},k.lagSmoothing=function(a,b){p=a||1/m,q=Math.min(b,p,0)},k.sleep=function(){null!=f&&(n&&A?A(f):clearTimeout(f),e=o,f=null,k===i&&(j=!1))},k.wake=function(a){null!==f?k.sleep():a?l+=-C+(C=B()):k.frame>10&&(C=B()-p+5),e=0===c?o:n&&z?z:function(a){return setTimeout(a,1e3*(h-k.time)+1|0)},k===i&&(j=!0),s(2)},k.fps=function(a){return arguments.length?(c=a,g=1/(c||60),h=this.time+g,void k.wake()):c},k.useRAF=function(a){return arguments.length?(k.sleep(),n=a,void k.fps(c)):n},k.fps(a),setTimeout(function(){"auto"===n&&k.frame<5&&"hidden"!==d.visibilityState&&k.useRAF(!1)},1500)}),h=l.Ticker.prototype=new l.events.EventDispatcher,h.constructor=l.Ticker;var D=t("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,W){j||i.wake();var c=this.vars.useFrames?V:W;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});i=D.ticker=new l.Ticker,h=D.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1;var E=function(){j&&B()-C>2e3&&i.wake(),setTimeout(E,2e3)};E(),h.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},h.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},h.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},h.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},h.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},h.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},h.render=function(a,b,c){},h.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},h.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime(!0))>=c&&a-1;)"{self}"===a[b]&&(c[b]=this);return c},h._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},h.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=p(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},h.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},h.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:a,b)):this._time},h.totalTime=function(a,b,c){if(j||i.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(J.length&&Y(),this.render(a,b,!1),J.length&&Y())}return this},h.progress=h.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},h.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},h.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},h.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||m,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},h.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},h.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(j||a||i.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var F=t("core.SimpleTimeline",function(a){D.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});h=F.prototype=new D,h.constructor=F,h.kill()._gc=!1,h._first=h._last=h._recent=null,h._sortChildren=!1,h.add=h.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},h._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},h.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},h.rawTime=function(){return j||i.wake(),this._totalTime};var G=t("TweenLite",function(b,c,d){if(D.call(this,c,d),this.render=G.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:G.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?U[G.defaultOverwrite]:"number"==typeof i?i>>0:U[i],(h||b instanceof Array||b.push&&p(b))&&"number"!=typeof b[0])for(this._targets=g=n(b),this._propLookup=[],this._siblings=[],e=0;e1&&_(f,this,null,1,this._siblings[e])):(f=g[e--]=G.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Z(b,this,!1),1===i&&this._siblings.length>1&&_(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-m,this.render(Math.min(0,-this._delay)))},!0),H=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)},I=function(a,b){var c,d={};for(c in a)T[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!Q[c]||Q[c]&&Q[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};h=G.prototype=new D,h.constructor=G,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=h._startAt=null,h._notifyPluginsOfEnabled=h._lazy=!1,G.version="1.19.1",G.defaultEase=h._ease=new v(null,null,1,1),G.defaultOverwrite="auto",G.ticker=i,G.autoSleep=120,G.lagSmoothing=function(a,b){i.lagSmoothing(a,b)},G.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(G.selector=c,c(b)):"undefined"==typeof d?b:d.querySelectorAll?d.querySelectorAll(b):d.getElementById("#"===b.charAt(0)?b.substr(1):b)};var J=[],K={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,M=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?1===a?this.end:a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&!c.blob&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},N=function(a,b,c,d){var e,f,g,h,i,j,k,l=[],m=0,n="",o=0;for(l.start=a,l.end=b,a=l[0]=a+"",b=l[1]=b+"",c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(L)||[],f=b.match(L)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=M,l},O=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k=typeof a[b],l="function"!==k?"":b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),m="get"!==c?c:l?g?a[l](g):a[l]():a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:m,f:"function"===k,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-m||0};return("number"!=typeof m||"number"!=typeof d&&!n)&&(g||isNaN(m)||!n&&isNaN(d)||"boolean"==typeof m||"boolean"==typeof d?(o.fp=g,j=N(m,n?o.s+o.c:d,h||G.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):(o.s=parseFloat(m),n||(o.c=parseFloat(d)-o.s||0))),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},P=G._internals={isArray:p,isSelector:H,lazyTweens:J,blobDif:N},Q=G._plugins={},R=P.tweenLookup={},S=0,T=P.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},V=D._rootFramesTimeline=new F,W=D._rootTimeline=new F,X=30,Y=P.lazyRender=function(){var a,b=J.length;for(K={};--b>-1;)a=J[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);J.length=0};W._startTime=i.time,V._startTime=i.frame,W._active=V._active=!0,setTimeout(Y,1),D._updateRoot=G.render=function(){var a,b,c;if(J.length&&Y(),W.render((i.time-W._startTime)*W._timeScale,!1,!1),V.render((i.frame-V._startTime)*V._timeScale,!1,!1),J.length&&Y(),i.frame>=X){X=i.frame+(parseInt(G.autoSleep,10)||120);for(c in R){for(b=R[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete R[c]}if(c=W._first,(!c||c._paused)&&G.autoSleep&&!V._first&&1===i._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||i.sleep()}}},i.addEventListener("tick",D._updateRoot);var Z=function(a,b,c){var d,e,f=a._gsTweenID;if(R[f||(a._gsTweenID=f="t"+S++)]||(R[f]={target:a,tweens:[]}),b&&(d=R[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return R[f].tweens},$=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=G.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},_=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+m,l=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||aa(b,0,o),0===aa(h,j,o)&&(l[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(l[n++]=h)));for(f=n;--f>-1;)if(h=l[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!$(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},aa=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*m>f-b?m:(f+=a.totalDuration()/a._timeScale/e)>b+m?0:f-b-m};h._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=G.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)T[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=G.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof v?k:"function"==typeof k?new v(k,g.easeParams):w[k]||G.defaultEase:G.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&G._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},h._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;K[b._gsTweenID]&&Y(),this.vars.css||b.style&&b!==a&&b.nodeType&&Q.css&&this.vars.autoCSS!==!1&&I(this.vars,b);for(g in this.vars)if(l=this.vars[g],T[g])l&&(l instanceof Array||l.push&&p(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(Q[g]&&(j=new Q[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=O.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&_(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(K[b._gsTweenID]=!0),i)},h.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7&&a>=0)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===m&&"isPause"!==this.data)&&j!==a&&(c=!0,j>m&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:m);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==m||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:m)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,l=this._easeType,n=this._easePower;(1===l||3===l&&k>=.5)&&(k=1-k),3===l&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===l?this.ratio=1-k:2===l?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,J.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===m&&g!==m&&(this._rawPrevTime=0))}},h._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:G.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((p(b)||H(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(G.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!$(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},h.invalidate=function(){return this._notifyPluginsOfEnabled&&G._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-m,this.render(Math.min(0,-this._delay))),this},h._enabled=function(a,b){if(j||i.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Z(d[c],this,!0);else this._siblings=Z(this.target,this,!0)}return D.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?G._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},G.to=function(a,b,c){return new G(a,b,c)},G.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new G(a,b,c)},G.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new G(a,b,d)},G.delayedCall=function(a,b,c,d,e){return new G(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},G.set=function(a,b){return new G(a,0,b)},G.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:G.selector(a)||a;var c,d,e,f;if((p(a)||H(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(G.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Z(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},G.killTweensOf=G.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=G.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var ba=t("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=ba.prototype},!0);if(h=ba.prototype,ba.version="1.19.0",ba.API=2,h._firstPT=null,h._addTween=O,h.setRatio=M,h._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},h._mod=h._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},G._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},ba.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===ba.API&&(Q[(new a[b])._propName]=a[b]);return!0},s.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=t("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){ba.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new ba(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,ba.activate([g]),g},f=a._gsQueue){for(g=0;gt._rawPrevTime||0===t._rawPrevTime&&a._reversed,_=l?0:r,f=l?r:0;if(e||!this._forcingPlayhead){for(a.pause(h),n=t._prev;n&&n._startTime===h;)n._rawPrevTime=f,n=n._prev;for(n=t._next;n&&n._startTime===h;)n._rawPrevTime=_,n=n._next;e&&e.apply(s||a.vars.callbackScope||a,i||u),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},m=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},d=s.prototype=new e;return s.version="1.17.0",d.constructor=s,d.kill()._gc=d._forcingPlayhead=!1,d.to=function(t,e,s,r){var n=s.repeat&&f.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},d.from=function(t,e,s,r){return this.add((s.repeat&&f.TweenMax||i).from(t,e,s),r)},d.fromTo=function(t,e,s,r,n){var a=r.repeat&&f.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},d.staggerTo=function(t,e,r,n,a,h,l,_){var u,f=new s({onComplete:h,onCompleteParams:l,callbackScope:_,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],o(t)&&(t=m(t)),n=n||0,0>n&&(t=m(t),t.reverse(),n*=-1),u=0;t.length>u;u++)r.startAt&&(r.startAt=c(r.startAt)),f.to(t[u],e,c(r),u*n);return this.add(f,a)},d.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},d.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},d.call=function(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},d.set=function(t,e,s){return s=this._parseTimeOrLabel(s,0,!0),null==e.immediateRender&&(e.immediateRender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,n,a=new s(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)n=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=n;return o.add(a,0),a},d.add=function(r,n,a,o){var l,_,u,f,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&h(r)){for(a=a||"normal",o=o||0,l=n,_=r.length,u=0;_>u;u++)h(f=r[u])&&(f=new s({tweens:f})),this.add(f,l),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?l=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),l+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,n);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},d.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&h(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},d._remove=function(t,i){e.prototype._remove.call(this,t,i);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},d.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,s,r){var n=i.delayedCall(0,p,["{self}",e,s,r],this);return n.data="isPause",this.add(n,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&h(r)))for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexOf("="),-1===n)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(n-1)+"1",10)*Number(e.substr(n+1)),e=n>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,o,h,u=this._dirty?this.totalDuration():this._totalDuration,f=this._time,c=this._startTime,p=this._timeScale,m=this._paused;if(t>=u)this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(n=!0,o="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>r&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=u+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",n=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=n=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&n)for(s=this._first;s&&0===s._startTime;)s._duration||(n=!1),s=s._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=f)for(s=this._first;s&&(a=s._next,!this._paused||m);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||m);)(s._active||f>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;this._onUpdate&&(e||(l.length&&_(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||p!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(n&&(l.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},d._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;t=t._next}return!1},d.getChildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getChildren(!0,e,s)),o=n.length))),a=a._next;return n},d.getTweensOf=function(t,e){var s,r,n=this._gc,a=[],o=0;for(n&&this._enabled(!0,!0),s=i.getTweensOf(t),r=s.length;--r>-1;)(s[r].timeline===this||e&&this._contains(s[r]))&&(a[o++]=s[r]);return n&&this._enabled(!1,!0),a},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},d._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},d.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,0>r._startTime&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),i=r._startTime+r._totalDuration/r._timeScale,i>s&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},d.paused=function(e){if(!e)for(var i=this._first,s=this._time;i;)i._startTime===s&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},d.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope)[t]};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}("TimelineLite"); /* EASING PLUGIN*/ /*! * VERSION: 1.15.5 * DATE: 2016-07-08 * UPDATES AND DOCS AT: http://greensock.com * * @license Copyright (c) 2008-2016, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com **/ var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return athis._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var a=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],a):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=a())}(); /* CSS PLUGIN */ /*! * VERSION: 1.19.1 * DATE: 2017-01-17 * UPDATES AND DOCS AT: http://greensock.com * * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.1",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N={style:{}},O=_gsScope.document||{createElement:function(){return N}},P=function(a,b){return O.createElementNS?O.createElementNS(b||"http://www.w3.org/1999/xhtml",a):O.createElement(a)},Q=P("div"),R=P("img"),S=g._internals={_specialProps:i},T=(_gsScope.navigator||{}).userAgent||"",U=function(){var a=T.indexOf("Android"),b=P("a");return m=-1!==T.indexOf("Safari")&&-1===T.indexOf("Chrome")&&(-1===a||parseFloat(T.substr(a+8,2))>3),o=m&&parseFloat(T.substr(T.indexOf("Version/")+8,2))<6,n=-1!==T.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),V=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},W=function(a){_gsScope.console&&console.log(a)},X="",Y="",Z=function(a,b){b=b||Q;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(Y=3===d?"ms":c[d],X="-"+Y.toLowerCase()+"-",Y+a):null},$=O.defaultView?O.defaultView.getComputedStyle:function(){},_=g.getStyle=function(a,b,c,d,e){var f;return U||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||$(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):V(a)},aa=S.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=Q.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+_(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||O.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(Q),h=parseFloat(Q[k?"offsetWidth":"offsetHeight"]),l.removeChild(Q),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=aa(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},ba=S.calculateOffset=function(a,b,c){if("absolute"!==_(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=_(a,"margin"+d,c);return a["offset"+d]-(aa(a,b,parseFloat(e),e.replace(w,""))||0)},ca=function(a,b){var c,d,e,f={};if(b=b||$(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Da===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ca===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return U||(f.opacity=V(a)),d=Ra(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Fa&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},da=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:ba(a,g),void 0!==j[g]&&(h=new sa(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},ea={width:["Left","Right"],height:["Top","Bottom"]},fa=["marginLeft","marginRight","marginTop","marginBottom"],ga=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||$(a))[b]||0;if(a.getCTM&&Oa(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=ea[b],f=e.length;for(c=c||$(a,null);--f>-1;)d-=parseFloat(_(a,"padding"+e[f],c,!0))||0,d-=parseFloat(_(a,"border"+e[f]+"Width",c,!0))||0;return d},ha=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ja=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ka=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},la={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ma=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},na=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),la[a])c=la[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=ma(g+1/3,d,e),c[1]=ma(g,d,e),c[2]=ma(g-1/3,d,e);else c=a.match(s)||la.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=la.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},oa=function(a,b){var c,d,e,f=a.match(pa)||[],g=0,h=f.length?"":a;for(c=0;c0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;nn--)for(;++nm--)for(;++mi;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},sa=(S._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new sa(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},S.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof ta||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ua=function(a,b,c,d,e,f){var g=new ta(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},va=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new ta(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&pa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,pa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ia(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&pa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&U,p=na(p,C),u=na(u,C),y=p.length+u.length>6,y&&!U&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(U||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ia(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ia(u[1],p[1]),"%,",!1).appendXtra("",p[2],ia(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),pa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n0;)j["xn"+wa]=0,j["xs"+wa]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new ta(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var xa=function(a,b){b=b||{},this.p=b.prefix?Z(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||qa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},ya=S._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;dh.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return va(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format(_(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){ya(a,{parser:function(a,d,e,f,g,h,i){var j=new ta(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=!0;var Aa,Ba="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ca=Z("transform"),Da=X+"transform",Ea=Z("transformOrigin"),Fa=null!==Z("perspective"),Ga=S.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Fa?g.defaultForce3D||"auto":!1},Ha=_gsScope.SVGElement,Ia=function(a,b,c){var d,e=O.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ja=O.documentElement||{},Ka=function(){var a,b,c,d=p||/Android/i.test(T)&&!_gsScope.chrome;return O.createElementNS&&!d&&(a=Ia("svg",Ja),b=Ia("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Ea]="50% 50%",b.style[Ca]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Fa),Ja.removeChild(a)),d}(),La=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Qa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),0===n.x&&0===n.y&&n.width+n.height===0&&(n={x:parseFloat(a.hasAttribute("x")?a.getAttribute("x"):a.hasAttribute("cx")?a.getAttribute("cx"):0)||0,y:parseFloat(a.hasAttribute("y")?a.getAttribute("y"):a.hasAttribute("cy")?a.getAttribute("cy"):0)||0,width:0,height:0}),b=ha(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Pa&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,s&&(i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j)),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},Ma=function(a){var b,c=P("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),d=this.parentNode,e=this.nextSibling,f=this.style.cssText;if(Ja.appendChild(c),c.appendChild(this),this.style.display="block",a)try{b=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Ma}catch(g){}else this._originalGetBBox&&(b=this._originalGetBBox());return e?d.insertBefore(this,e):d.appendChild(this),Ja.removeChild(c),this.style.cssText=f,b},Na=function(a){try{return a.getBBox()}catch(b){return Ma.call(a,!0)}},Oa=function(a){return!(!(Ha&&a.getCTM&&Na(a))||a.parentNode&&!a.ownerSVGElement)},Pa=[1,0,0,1,0,0],Qa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Ga,j=1e5,k=a.style;if(Ca?d=_(a,Da,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ca&&((h="none"===$(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ja.appendChild(a)),d=_(a,Da,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Va(k,"display"),g&&Ja.removeChild(a)),(i.svg||a.getCTM&&Oa(a))&&(c&&-1!==(k[Ca]+"").indexOf("matrix")&&(d=k[Ca],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Pa;for(e=(d||"").match(s)||[],wa=e.length;--wa>-1;)f=Number(e[wa]),e[wa]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Ra=S.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Ga:new Ga,n=m.scaleX<0,o=2e-5,p=1e5,q=Fa?parseFloat(_(a,Ea,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getCTM||!Oa(a)),m.svg&&(La(a,_(a,Ea,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),Aa=g.useSVGTransformAttr||Ka),f=Qa(a),f!==Pa){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Fa||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Fa&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(Aa&&a.style[Ca]?b.delayedCall(.001,function(){Va(a.style,Ca)}):!Aa&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Sa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),wa=0;4>wa;wa++)z=fa[wa],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):aa(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>wa?-d.ieOffsetX:-d.ieOffsetY:2>wa?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===wa||2===wa?1:B)))+"px"}}},Ta=S.set3DTransformRatio=S.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D,O=z.skewY,P=z.skewX;if(O&&(P+=O,B+=O),((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||Aa&&L||!Fa)return void(B||P||L?(B*=K,x=P*K,y=1e5,c=Math.cos(B)*E,f=Math.sin(B)*E,d=Math.sin(B-x)*-F,g=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(b=Math.tan(x-O*K),b=Math.sqrt(1+b*b),d*=b,g*=b,O&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b)),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset,Aa&&(z.xPercent||z.yPercent)&&(q=this.t.getBBox(),H+=.01*z.xPercent*q.width,I+=.01*z.yPercent*q.height),q=1e-6,q>H&&H>-q&&(H=0),q>I&&I>-q&&(I=0)),u=(c*y|0)/y+","+(f*y|0)/y+","+(d*y|0)/y+","+(g*y|0)/y+","+H+","+I+")",L&&Aa?this.t.setAttribute("transform","matrix("+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(q=1e-4,q>E&&E>-q&&(E=G=2e-5),q>F&&F>-q&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||P)B*=K,r=c=Math.cos(B),s=f=Math.sin(B),P&&(B-=P*K,r=Math.cos(B),s=Math.sin(B),"simple"===z.skewType&&(b=Math.tan((P-O)*K),b=Math.sqrt(1+b*b),r*=b,s*=b,z.skewY&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b))),d=-s,g=r;else{if(!(D||C||1!==G||M||L))return void(A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));c=g=1,d=f=0}k=1,e=h=i=j=l=m=0,o=M?-1/M:0,p=z.zOrigin,q=1e-6,v=",",w="0",B=D*K,B&&(r=Math.cos(B),s=Math.sin(B),i=-s,l=o*-s,e=c*s,h=f*s,k=r,o*=r,c*=r,f*=r),B=C*K,B&&(r=Math.cos(B),s=Math.sin(B),b=d*r+e*s,t=g*r+h*s,j=k*s,m=o*s,e=d*-s+e*r,h=g*-s+h*r,k*=r,o*=r,d=b,g=t),1!==G&&(e*=G,h*=G,k*=G,o*=G),1!==F&&(d*=F,g*=F,j*=F,m*=F),1!==E&&(c*=E,f*=E,i*=E,l*=E),(p||L)&&(p&&(H+=e*-p,I+=h*-p,J+=k*-p+p),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset),q>H&&H>-q&&(H=w),q>I&&I>-q&&(I=w),q>J&&J>-q&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(q>c&&c>-q?w:c)+v+(q>f&&f>-q?w:f)+v+(q>i&&i>-q?w:i),u+=v+(q>l&&l>-q?w:l)+v+(q>d&&d>-q?w:d)+v+(q>g&&g>-q?w:g),C||D||1!==G?(u+=v+(q>j&&j>-q?w:j)+v+(q>m&&m>-q?w:m)+v+(q>e&&e>-q?w:e),u+=v+(q>h&&h>-q?w:h)+v+(q>k&&k>-q?w:k)+v+(q>o&&o>-q?w:o)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ca]=u};j=Ga.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,ya("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j,k=i.scale&&"function"==typeof i.scale?i.scale:0;"function"==typeof i[c]&&(j=i[c],i[c]=b),k&&(i.scale=k(r,a));var l,m,n,o,p,s,t,u,v,w=a._gsTransform,x=a.style,y=1e-6,z=Ba.length,A=i,B={},C="transformOrigin",D=Ra(a,e,!0,A.parseTransform),E=A.transform&&("function"==typeof A.transform?A.transform(r,q):A.transform);if(d._transform=D,E&&"string"==typeof E&&Ca)m=Q.style,m[Ca]=E,m.display="block",m.position="absolute",O.body.appendChild(Q),l=Ra(Q,null,!1),D.svg&&(s=D.xOrigin,t=D.yOrigin,l.x-=D.xOffset,l.y-=D.yOffset,(A.transformOrigin||A.svgOrigin)&&(E={},La(a,ha(A.transformOrigin),E,A.svgOrigin,A.smoothOrigin,!0),s=E.xOrigin,t=E.yOrigin,l.x-=E.xOffset-D.xOffset,l.y-=E.yOffset-D.yOffset),(s||t)&&(u=Qa(Q,!0),l.x-=s-(s*u[0]+t*u[2]),l.y-=t-(s*u[1]+t*u[3]))),O.body.removeChild(Q),l.perspective||(l.perspective=D.perspective),null!=A.xPercent&&(l.xPercent=ja(A.xPercent,D.xPercent)),null!=A.yPercent&&(l.yPercent=ja(A.yPercent,D.yPercent));else if("object"==typeof A){if(l={scaleX:ja(null!=A.scaleX?A.scaleX:A.scale,D.scaleX),scaleY:ja(null!=A.scaleY?A.scaleY:A.scale,D.scaleY),scaleZ:ja(A.scaleZ,D.scaleZ),x:ja(A.x,D.x),y:ja(A.y,D.y),z:ja(A.z,D.z),xPercent:ja(A.xPercent,D.xPercent),yPercent:ja(A.yPercent,D.yPercent),perspective:ja(A.transformPerspective,D.perspective)},p=A.directionalRotation,null!=p)if("object"==typeof p)for(m in p)A[m]=p[m];else A.rotation=p;"string"==typeof A.x&&-1!==A.x.indexOf("%")&&(l.x=0,l.xPercent=ja(A.x,D.xPercent)),"string"==typeof A.y&&-1!==A.y.indexOf("%")&&(l.y=0,l.yPercent=ja(A.y,D.yPercent)),l.rotation=ka("rotation"in A?A.rotation:"shortRotation"in A?A.shortRotation+"_short":"rotationZ"in A?A.rotationZ:D.rotation,D.rotation,"rotation",B),Fa&&(l.rotationX=ka("rotationX"in A?A.rotationX:"shortRotationX"in A?A.shortRotationX+"_short":D.rotationX||0,D.rotationX,"rotationX",B),l.rotationY=ka("rotationY"in A?A.rotationY:"shortRotationY"in A?A.shortRotationY+"_short":D.rotationY||0,D.rotationY,"rotationY",B)),l.skewX=ka(A.skewX,D.skewX),l.skewY=ka(A.skewY,D.skewY)}for(Fa&&null!=A.force3D&&(D.force3D=A.force3D,o=!0),D.skewType=A.skewType||D.skewType||g.defaultSkewType,n=D.force3D||D.z||D.rotationX||D.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,n||null==A.scale||(l.scaleZ=1);--z>-1;)v=Ba[z],E=l[v]-D[v],(E>y||-y>E||null!=A[v]||null!=M[v])&&(o=!0,f=new ta(D,v,D[v],E,f),v in B&&(f.e=B[v]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return E=A.transformOrigin,D.svg&&(E||A.svgOrigin)&&(s=D.xOffset,t=D.yOffset,La(a,ha(E),l,A.svgOrigin,A.smoothOrigin),f=ua(D,"xOrigin",(w?D:l).xOrigin,l.xOrigin,f,C),f=ua(D,"yOrigin",(w?D:l).yOrigin,l.yOrigin,f,C),(s!==D.xOffset||t!==D.yOffset)&&(f=ua(D,"xOffset",w?s:D.xOffset,D.xOffset,f,C),f=ua(D,"yOffset",w?t:D.yOffset,D.yOffset,f,C)),E="0px 0px"),(E||Fa&&n&&D.zOrigin)&&(Ca?(o=!0,v=Ea,E=(E||_(a,v,e,!1,"50% 50%"))+"",f=new ta(x,v,0,0,f,-1,C),f.b=x[v],f.plugin=h,Fa?(m=D.zOrigin,E=E.split(" "),D.zOrigin=(E.length>2&&(0===m||"0px"!==E[2])?parseFloat(E[2]):m)||0,f.xs0=f.e=E[0]+" "+(E[1]||"50%")+" 0px",f=new ta(D,"zOrigin",0,0,f,-1,f.n),f.b=m,f.xs0=f.e=D.zOrigin):f.xs0=f.e=E):ha(E+"",D)),o&&(d._transformType=D.svg&&Aa||!n&&3!==this._transformType?2:3),j&&(i[c]=j),k&&(i.scale=k),f},prefix:!0}),ya("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ya("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;jp?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=aa(a,"borderLeft",o,t),w=aa(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=aa(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=va(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:qa("0px 0px 0px 0px",!1,!0)}),ya("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return va(a.style,c,this.format(_(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:qa("0px 0px",!1,!0)}),ya("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||$(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=_(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),R.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-R.width:a.offsetHeight-R.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ha}),ya("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ha(-1===a.indexOf(" ")?a+" "+a:a)}}),ya("perspective",{defaultValue:"0px",prefix:!0}),ya("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ya("transformStyle",{prefix:!0}),ya("backfaceVisibility",{prefix:!0}),ya("userSelect",{prefix:!0}),ya("margin",{parser:ra("marginTop,marginRight,marginBottom,marginLeft")}),ya("padding",{parser:ra("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ya("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")", b=this.format(b).split(",").join(j)):(h=this.format(_(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),ya("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ya("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),ya("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=_(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/aa(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+_(a,"borderTopStyle",e,!1,"solid")+" "+_(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(pa)||["#000"])[0]}}),ya("borderWidth",{parser:ra("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ya("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new ta(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Ua=function(a){var b,c=this.t,d=c.filter||_(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!_(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};ya("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat(_(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===_(a,"visibility",e)&&0!==b&&(h=0),U?f=new ta(i,"opacity",h,b-h,f):(f=new ta(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Ua),j&&(f=new ta(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Va=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Wa=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Va(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};ya("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new ta(a,d,0,0,g,2),g.setRatio=Wa,g.pr=-11,c=!0,g.b=o,k=ca(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=da(a,k,ca(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Xa=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Ea:i[c].p),Va(g,c);e&&(Va(g,Ca),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ya("clearProps",{parser:function(a,b,d,e,f){return f=new ta(a,d,0,0,f,2),f.setRatio=Xa,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),wa=j.length;wa--;)za(j[wa]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=$(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=_(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ca(a,e),A.cssText=t+";"+b,n=da(a,n,ca(a)).difs,!U&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ca?m&&(l=!0,""===A.zIndex&&(w=_(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new ta(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ca?Ta:Sa,x.data=this._transform||Ra(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=_(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=na(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=va(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=va(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=ga(a,g,e),o="px"):"left"===g||"top"===g?(j=ba(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=aa(a,g,j,o),"%"===p?(j/=aa(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=aa(a,g,1,p):"px"!==p&&(l=aa(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new ta(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):W("invalid "+g+" tween value: "+b[g]):(c=new ta(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d-1;)Za(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ca(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Za(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Za(a,k,m),i.render(c,!0,!0),Za(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=da(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define(["TweenLite"],b):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=b())}("CSSPlugin"); /* SPLIT TEXT UTIL */ /*! * VERSION: 0.5.6 * DATE: 2017-01-17 * UPDATES AND DOCS AT: http://greensock.com * * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details. * This work is subject to the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;!function(a){"use strict";var b=a.GreenSockGlobals||a,c=function(a){var c,d=a.split("."),e=b;for(c=0;cb;b++)if(c=a[b],j(c))for(d=c.length,d=0;d":">")}},y=d.SplitText=b.SplitText=function(a,b){if("string"==typeof a&&(a=y.selector(a)),!a)throw"cannot split a null element.";this.elements=j(a)?k(a):[a],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=b||{},this.split(b)},z=function(a,b,c){var d=a.nodeType;if(1===d||9===d||11===d)for(a=a.firstChild;a;a=a.nextSibling)z(a,b,c);else(3===d||4===d)&&(a.nodeValue=a.nodeValue.split(b).join(c))},A=function(a,b){for(var c=b.length;--c>-1;)a.push(b[c])},B=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},C=function(a,b,c){for(var d;a&&a!==b;){if(d=a._next||a.nextSibling)return d.textContent.charAt(0)===c;a=a.parentNode||a._parent}return!1},D=function(a){var b,c,d=B(a.childNodes),e=d.length;for(b=0;e>b;b++)c=d[b],c._isSplit?D(c):(b&&3===c.previousSibling.nodeType?c.previousSibling.nodeValue+=3===c.nodeType?c.nodeValue:c.firstChild.nodeValue:3!==c.nodeType&&a.insertBefore(c.firstChild,c),a.removeChild(c))},E=function(a,b,c,d,e,h,j){var k,l,m,n,o,p,q,r,s,t,u,v,w=g(a),x=i(a,"paddingLeft",w),y=-999,B=i(a,"borderBottomWidth",w)+i(a,"borderTopWidth",w),E=i(a,"borderLeftWidth",w)+i(a,"borderRightWidth",w),F=i(a,"paddingTop",w)+i(a,"paddingBottom",w),G=i(a,"paddingLeft",w)+i(a,"paddingRight",w),H=.2*i(a,"fontSize"),I=i(a,"textAlign",w,!0),J=[],K=[],L=[],M=b.wordDelimiter||" ",N=b.span?"span":"div",O=b.type||b.split||"chars,words,lines",P=e&&-1!==O.indexOf("lines")?[]:null,Q=-1!==O.indexOf("words"),R=-1!==O.indexOf("chars"),S="absolute"===b.position||b.absolute===!0,T=b.linesClass,U=-1!==(T||"").indexOf("++"),V=[];for(P&&1===a.children.length&&a.children[0]._isSplit&&(a=a.children[0]),U&&(T=T.split("++").join("")),l=a.getElementsByTagName("*"),m=l.length,o=[],k=0;m>k;k++)o[k]=l[k];if(P||S)for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,(p||S||R&&!Q)&&(v=n.offsetTop,P&&p&&Math.abs(v-y)>H&&"BR"!==n.nodeName&&(q=[],P.push(q),y=v),S&&(n._x=n.offsetLeft,n._y=v,n._w=n.offsetWidth,n._h=n.offsetHeight),P&&((n._isSplit&&p||!R&&p||Q&&p||!Q&&n.parentNode.parentNode===a&&!n.parentNode._isSplit)&&(q.push(n),n._x-=x,C(n,a,M)&&(n._wordEnd=!0)),"BR"===n.nodeName&&n.nextSibling&&"BR"===n.nextSibling.nodeName&&P.push([])));for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,"BR"!==n.nodeName?(S&&(s=n.style,Q||p||(n._x+=n.parentNode._x,n._y+=n.parentNode._y),s.left=n._x+"px",s.top=n._y+"px",s.position="absolute",s.display="block",s.width=n._w+1+"px",s.height=n._h+"px"),!Q&&R?n._isSplit?(n._next=n.nextSibling,n.parentNode.appendChild(n)):n.parentNode._isSplit?(n._parent=n.parentNode,!n.previousSibling&&n.firstChild&&(n.firstChild._isFirst=!0),n.nextSibling&&" "===n.nextSibling.textContent&&!n.nextSibling.nextSibling&&V.push(n.nextSibling),n._next=n.nextSibling&&n.nextSibling._isFirst?null:n.nextSibling,n.parentNode.removeChild(n),o.splice(k--,1),m--):p||(v=!n.nextSibling&&C(n.parentNode,a,M),n.parentNode._parent&&n.parentNode._parent.appendChild(n),v&&n.parentNode.appendChild(f.createTextNode(" ")),b.span&&(n.style.display="inline"),J.push(n)):n.parentNode._isSplit&&!n._isSplit&&""!==n.innerHTML?K.push(n):R&&!n._isSplit&&(b.span&&(n.style.display="inline"),J.push(n))):P||S?(n.parentNode&&n.parentNode.removeChild(n),o.splice(k--,1),m--):Q||a.appendChild(n);for(k=V.length;--k>-1;)V[k].parentNode.removeChild(V[k]);if(P){for(S&&(t=f.createElement(N),a.appendChild(t),u=t.offsetWidth+"px",v=t.offsetParent===a?0:a.offsetLeft,a.removeChild(t)),s=a.style.cssText,a.style.cssText="display:none;";a.firstChild;)a.removeChild(a.firstChild);for(r=" "===M&&(!S||!Q&&!R),k=0;kl;l++)"BR"!==q[l].nodeName&&(n=q[l],t.appendChild(n),r&&n._wordEnd&&t.appendChild(f.createTextNode(" ")),S&&(0===l&&(t.style.top=n._y+"px",t.style.left=x+v+"px"),n.style.top="0px",v&&(n.style.left=n._x-v+"px")));0===m?t.innerHTML=" ":Q||R||(D(t),z(t,String.fromCharCode(160)," ")),S&&(t.style.width=u,t.style.height=n._h+"px"),a.appendChild(t)}a.style.cssText=s}S&&(j>a.clientHeight&&(a.style.height=j-F+"px",a.clientHeighta.clientWidth&&(a.style.width=h-G+"px",a.clientWidth":"
",G=!0,H=f.createElement("div"),I=a.parentNode;for(I.insertBefore(H,a),H.textContent=a.nodeValue,I.removeChild(a),a=H,g=e(a),v=-1!==g.indexOf("<"),b.reduceWhiteSpace!==!1&&(g=g.replace(m," ").replace(l,"")),v&&(g=g.split("<").join("{{LT}}")),k=g.length,h=(" "===g.charAt(0)?E:"")+c(),i=0;k>i;i++)if(p=g.charAt(i),p===D&&g.charAt(i-1)!==D&&i){for(h+=G?F:"",G=!1;g.charAt(i+1)===D;)h+=E,i++;i===k-1?h+=E:")"!==g.charAt(i+1)&&(h+=E+c(),G=!0)}else"{"===p&&"{{LT}}"===g.substr(i,6)?(h+=B?d()+"{{LT}}":"{{LT}}",i+=5):p.charCodeAt(0)>=n&&p.charCodeAt(0)<=o||g.charCodeAt(i+1)>=65024&&g.charCodeAt(i+1)<=65039?(w=u(g.substr(i,2)),x=u(g.substr(i+2,2)),j=w>=q&&r>=w&&x>=q&&r>=x||x>=s&&t>=x?4:2,h+=B&&" "!==p?d()+g.substr(i,j)+"":g.substr(i,j),i+=j-1):h+=B&&" "!==p?d()+p+"":p;a.outerHTML=h+(G?F:""),v&&z(I,"{{LT}}","<")},G=function(a,b,c,d){var e,f,g=B(a.childNodes),h=g.length,j="absolute"===b.position||b.absolute===!0;if(3!==a.nodeType||h>1){for(b.absolute=!1,e=0;h>e;e++)f=g[e],(3!==f.nodeType||/\S+/.test(f.nodeValue))&&(j&&3!==f.nodeType&&"inline"===i(f,"display",null,!0)&&(f.style.display="inline-block",f.style.position="relative"),f._isSplit=!0,G(f,b,c,d));return b.absolute=j,void(a._isSplit=!0)}F(a,b,c,d)},H=y.prototype;H.split=function(a){this.isSplit&&this.revert(),this.vars=a=a||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var b,c,d,e=this.elements.length,f=a.span?"span":"div",g=("absolute"===a.position||a.absolute===!0,x(a.wordsClass,f)),h=x(a.charsClass,f);--e>-1;)d=this.elements[e],this._originals[e]=d.innerHTML,b=d.clientHeight,c=d.clientWidth,G(d,a,g,h),E(d,a,this.chars,this.words,this.lines,c,b);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},H.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var a=this._originals.length;--a>-1;)this.elements[a].innerHTML=this._originals[a];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},y.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(y.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)},y.version="0.5.6"}(_gsScope),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define([],b):"undefined"!=typeof module&&module.exports&&(module.exports=b())}("SplitText"); try{ window.GreenSockGlobals = null; window._gsQueue = null; window._gsDefine = null; delete(window.GreenSockGlobals); delete(window._gsQueue); delete(window._gsDefine); } catch(e) {} try{ window.GreenSockGlobals = oldgs; window._gsQueue = oldgs_queue; } catch(e) {} if (window.tplogs==true) try { console.groupEnd(); } catch(e) {} (function(e,t){ e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})}; })(jQuery); // source --> https://moussaouiassurances.com/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.revolution.min.js /************************************************************************** * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider * @version: 5.4.6.4 (28.11.2017) * @requires jQuery v1.7 or later (tested on 1.9) * @author ThemePunch **************************************************************************/ !function(jQuery,undefined){"use strict";var version={core:"5.4.6.4","revolution.extensions.actions.min.js":"2.1.0","revolution.extensions.carousel.min.js":"1.2.1","revolution.extensions.kenburn.min.js":"1.3.1","revolution.extensions.layeranimation.min.js":"3.6.4","revolution.extensions.navigation.min.js":"1.3.3","revolution.extensions.parallax.min.js":"2.2.0","revolution.extensions.slideanims.min.js":"1.7","revolution.extensions.video.min.js":"2.2.0"};jQuery.fn.extend({revolution:function(e){var i={delay:9e3,responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,autoHeight:"off",sliderType:"standard",sliderLayout:"auto",fullScreenAutoWidth:"off",fullScreenAlignForce:"off",fullScreenOffsetContainer:"",fullScreenOffset:"0",hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,disableProgressBar:"off",stopAtSlide:-1,stopAfterLoops:-1,shadow:0,dottedOverlay:"none",startDelay:0,lazyType:"smart",spinner:"spinner0",shuffle:"off",viewPort:{enable:!1,outof:"wait",visible_area:"60%",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:"off",simplifyAll:"on",nextSlideOnWindowFocus:"off",disableFocusListener:!0,ignoreHeightChanges:"off",ignoreHeightChangesSize:0,allowHTML5AutoPlayOnAndroid:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",speed:400,bgparallax:"off",opacity:"on",disable_onmobile:"off",ddd_shadow:"on",ddd_bgfreeze:"off",ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,ddd_path:"mouse"},scrolleffect:{fade:"off",blur:"off",scale:"off",grayscale:"off",maxblur:10,on_layers:"off",on_slidebg:"off",on_static_layers:"off",on_parallax_layers:"off",on_parallax_static_layers:"off",direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_on_mobile:"on"},carousel:{easing:punchgs.Power3.easeInOut,speed:800,showLayersAllTime:"off",horizontal_align:"center",vertical_align:"center",infinity:"on",space:0,maxVisibleItems:3,stretch:"off",fadeout:"on",maxRotation:0,minScale:0,vary_fade:"off",vary_rotation:"on",vary_scale:"off",border_radius:"0px",padding_top:0,padding_bottom:0},navigation:{keyboardNavigation:"off",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",touch:{touchenabled:"off",touchOnDesktop:"off",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,swipe_direction:"horizontal"},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{container:"slider",rtl:!1,style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"left",v_align:"center",space:0,h_offset:20,v_offset:0,tmp:''},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"left",v_align:"center",h_offset:20,v_offset:0},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"left",v_align:"center",h_offset:20,v_offset:0}},extensions:"extensions/",extensions_suffix:".min.js",debugMode:!1};return e=jQuery.extend(!0,{},i,e),this.each(function(){var i=jQuery(this);e.minHeight=e.minHeight!=undefined?parseInt(e.minHeight,0):e.minHeight,e.scrolleffect.on="on"===e.scrolleffect.fade||"on"===e.scrolleffect.scale||"on"===e.scrolleffect.blur||"on"===e.scrolleffect.grayscale,"hero"==e.sliderType&&i.find(">ul>li").each(function(e){e>0&&jQuery(this).remove()}),e.jsFileLocation=e.jsFileLocation||getScriptLocation("themepunch.revolution.min.js"),e.jsFileLocation=e.jsFileLocation+e.extensions,e.scriptsneeded=getNeededScripts(e,i),e.curWinRange=0,e.rtl=!0,e.navigation!=undefined&&e.navigation.touch!=undefined&&(e.navigation.touch.swipe_min_touches=e.navigation.touch.swipe_min_touches>5?1:e.navigation.touch.swipe_min_touches),jQuery(this).on("scriptsloaded",function(){if(e.modulesfailing)return i.html('
!! Error at loading Slider Revolution 5.0 Extrensions.'+e.errorm+"
").show(),!1;_R.migration!=undefined&&(e=_R.migration(i,e)),punchgs.force3D=!0,"on"!==e.simplifyAll&&punchgs.TweenLite.lagSmoothing(1e3,16),prepareOptions(i,e),initSlider(i,e)}),i[0].opt=e,waitForScripts(i,e)})},getRSVersion:function(e){if(!0===e)return jQuery("body").data("tp_rs_version");var i=jQuery("body").data("tp_rs_version"),t="";t+="---------------------------------------------------------\n",t+=" Currently Loaded Slider Revolution & SR Modules :\n",t+="---------------------------------------------------------\n";for(var a in i)t+=i[a].alias+": "+i[a].ver+"\n";return t+="---------------------------------------------------------\n"},revremoveslide:function(e){return this.each(function(){var i=jQuery(this),t=i[0].opt;if(!(e<0||e>t.slideamount)&&i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&t&&t.li.length>0&&(e>0||e<=t.li.length)){var a=jQuery(t.li[e]),n=a.data("index"),r=!1;t.slideamount=t.slideamount-1,t.realslideamount=t.realslideamount-1,removeNavWithLiref(".tp-bullet",n,t),removeNavWithLiref(".tp-tab",n,t),removeNavWithLiref(".tp-thumb",n,t),a.hasClass("active-revslide")&&(r=!0),a.remove(),t.li=removeArray(t.li,e),t.carousel&&t.carousel.slides&&(t.carousel.slides=removeArray(t.carousel.slides,e)),t.thumbs=removeArray(t.thumbs,e),_R.updateNavIndexes&&_R.updateNavIndexes(t),r&&i.revnext(),punchgs.TweenLite.set(t.li,{minWidth:"99%"}),punchgs.TweenLite.set(t.li,{minWidth:"100%"})}})},revaddcallback:function(e){return this.each(function(){this.opt&&(this.opt.callBackArray===undefined&&(this.opt.callBackArray=new Array),this.opt.callBackArray.push(e))})},revgetparallaxproc:function(){return jQuery(this)[0].opt.scrollproc},revdebugmode:function(){return this.each(function(){var e=jQuery(this);e[0].opt.debugMode=!0,containerResized(e,e[0].opt)})},revscroll:function(e){return this.each(function(){var i=jQuery(this);jQuery("body,html").animate({scrollTop:i.offset().top+i.height()-e+"px"},{duration:400})})},revredraw:function(e){return this.each(function(){var e=jQuery(this);containerResized(e,e[0].opt)})},revkill:function(e){var i=this,t=jQuery(this);if(punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements),t!=undefined&&t.length>0&&jQuery("body").find("#"+t.attr("id")).length>0){t.data("conthover",1),t.data("conthover-changed",1),t.trigger("revolution.slide.onpause");var a=t.parent().find(".tp-bannertimer"),n=t[0].opt;n.tonpause=!0,t.trigger("stoptimer");r="resize.revslider-"+t.attr("id");jQuery(window).unbind(r),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),t.unbind("hover, mouseover, mouseenter,mouseleave, resize");var r="resize.revslider-"+t.attr("id");jQuery(window).off(r),t.find("*").each(function(){var e=jQuery(this);e.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),e.off("on, hover, mouseenter,mouseleave,mouseover, resize"),e.data("mySplitText",null),e.data("ctl",null),e.data("tween")!=undefined&&e.data("tween").kill(),e.data("kenburn")!=undefined&&e.data("kenburn").kill(),e.data("timeline_out")!=undefined&&e.data("timeline_out").kill(),e.data("timeline")!=undefined&&e.data("timeline").kill(),e.remove(),e.empty(),e=null}),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),a.remove();try{t.closest(".forcefullwidth_wrapper_tp_banner").remove()}catch(e){}try{t.closest(".rev_slider_wrapper").remove()}catch(e){}try{t.remove()}catch(e){}return t.empty(),t.html(),t=null,n=null,delete i.c,delete i.opt,delete i.container,!0}return!1},revpause:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&(e.data("conthover",1),e.data("conthover-changed",1),e.trigger("revolution.slide.onpause"),e[0].opt.tonpause=!0,e.trigger("stoptimer"))})},revresume:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&(e.data("conthover",0),e.data("conthover-changed",1),e.trigger("revolution.slide.onresume"),e[0].opt.tonpause=!1,e.trigger("starttimer"))})},revstart:function(){var e=jQuery(this);if(e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&e[0].opt!==undefined)return e[0].opt.sliderisrunning?(console.log("Slider Is Running Already"),!1):(e[0].opt.c=e,e[0].opt.ul=e.find(">ul"),runSlider(e,e[0].opt),!0)},revnext:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&_R.callingNewSlide(e,1)})},revprev:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&_R.callingNewSlide(e,-1)})},revmaxslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revcurrentslide:function(){var e=jQuery(this);if(e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0)return parseInt(e[0].opt.act,0)+1},revlastslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revshowslide:function(e){return this.each(function(){var i=jQuery(this);i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&_R.callingNewSlide(i,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){var i=jQuery(this);i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&_R.callingNewSlide(i,e)})}});var _R=jQuery.fn.revolution;jQuery.extend(!0,_R,{getversion:function(){return version},compare_version:function(e){var i=jQuery("body").data("tp_rs_version");return(i=i===undefined?new Object:i).Core===undefined&&(i.Core=new Object,i.Core.alias="Slider Revolution Core",i.Core.name="jquery.themepunch.revolution.min.js",i.Core.ver=_R.getversion().core),"stop"!=e.check&&(_R.getversion().core').appendTo(jQuery("body"));t.html("\x3c!--[if "+(i||"")+" IE "+(e||"")+"]> 1&&(i=!0);return i},is_android:function(){var e=["android","Android"],i=!1;for(var t in e)navigator.userAgent.split(e[t]).length>1&&(i=!0);return i},callBackHandling:function(e,i,t){try{e.callBackArray&&jQuery.each(e.callBackArray,function(e,a){a&&a.inmodule&&a.inmodule===i&&a.atposition&&a.atposition===t&&a.callback&&a.callback.call()})}catch(e){console.log("Call Back Failed")}},get_browser:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[0]},get_browser_version:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[1]},isSafari11:function(){return"safari"===jQuery.trim(_R.get_browser().toLowerCase())&&parseFloat(_R.get_browser_version())>=11},getHorizontalOffset:function(e,i){var t=gWiderOut(e,".outer-left"),a=gWiderOut(e,".outer-right");switch(i){case"left":return t;case"right":return a;case"both":return t+a}},callingNewSlide:function(e,i){var t=e.find(".next-revslide").length>0?e.find(".next-revslide").index():e.find(".processing-revslide").length>0?e.find(".processing-revslide").index():e.find(".active-revslide").index(),a=0,n=e[0].opt;e.find(".next-revslide").removeClass("next-revslide"),e.find(".active-revslide").hasClass("tp-invisible-slide")&&(t=n.last_shown_slide),i&&jQuery.isNumeric(i)||i.match(/to/g)?(a=1===i||-1===i?(a=t+i)<0?n.slideamount-1:a>=n.slideamount?0:a:(i=jQuery.isNumeric(i)?i:parseInt(i.split("to")[1],0))<0?0:i>n.slideamount-1?n.slideamount-1:i,e.find(".tp-revslider-slidesli:eq("+a+")").addClass("next-revslide")):i&&e.find(".tp-revslider-slidesli").each(function(){var e=jQuery(this);e.data("index")===i&&e.addClass("next-revslide")}),a=e.find(".next-revslide").index(),e.trigger("revolution.nextslide.waiting"),t===a&&t===n.last_shown_slide||a!==t&&-1!=a?swapSlide(e):e.find(".next-revslide").removeClass("next-revslide")},slotSize:function(e,i){i.slotw=Math.ceil(i.width/i.slots),"fullscreen"==i.sliderLayout?i.sloth=Math.ceil(jQuery(window).height()/i.slots):i.sloth=Math.ceil(i.height/i.slots),"on"==i.autoHeight&&e!==undefined&&""!==e&&(i.sloth=Math.ceil(e.height()/i.slots))},setSize:function(e){var i=(e.top_outer||0)+(e.bottom_outer||0),t=parseInt(e.carousel.padding_top||0,0),a=parseInt(e.carousel.padding_bottom||0,0),n=e.gridheight[e.curWinRange],r=0,o=-1===e.nextSlide||e.nextSlide===undefined?0:e.nextSlide;if(e.paddings=e.paddings===undefined?{top:parseInt(e.c.parent().css("paddingTop"),0)||0,bottom:parseInt(e.c.parent().css("paddingBottom"),0)||0}:e.paddings,e.rowzones&&e.rowzones.length>0)for(var s=0;se.gridheight[e.curWinRange]&&"on"!=e.autoHeight&&(e.height=e.gridheight[e.curWinRange]),"fullscreen"==e.sliderLayout||e.infullscreenmode){e.height=e.bw*e.gridheight[e.curWinRange];e.c.parent().width();var l=jQuery(window).height();if(e.fullScreenOffsetContainer!=undefined){try{var d=e.fullScreenOffsetContainer.split(",");d&&jQuery.each(d,function(e,i){l=jQuery(i).length>0?l-jQuery(i).outerHeight(!0):l})}catch(e){}try{e.fullScreenOffset.split("%").length>1&&e.fullScreenOffset!=undefined&&e.fullScreenOffset.length>0?l-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:e.fullScreenOffset!=undefined&&e.fullScreenOffset.length>0&&(l-=parseInt(e.fullScreenOffset,0))}catch(e){}}l=lparseInt(e.height,0)?r:e.height}else e.minHeight!=undefined&&e.heightparseInt(e.height,0)?r:e.height,e.c.height(e.height);var c={height:t+a+i+e.height+e.paddings.top+e.paddings.bottom};e.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(c),e.c.closest(".rev_slider_wrapper").css(c),setScale(e)},enterInViewPort:function(e){e.waitForCountDown&&(countDown(e.c,e),e.waitForCountDown=!1),e.waitForFirstSlide&&(swapSlide(e.c),e.waitForFirstSlide=!1,setTimeout(function(){e.c.removeClass("tp-waitforfirststart")},500)),"playing"!=e.sliderlaststatus&&e.sliderlaststatus!=undefined||e.c.trigger("starttimer"),e.lastplayedvideos!=undefined&&e.lastplayedvideos.length>0&&jQuery.each(e.lastplayedvideos,function(i,t){_R.playVideo(t,e)})},leaveViewPort:function(e){e.sliderlaststatus=e.sliderstatus,e.c.trigger("stoptimer"),e.playingvideos!=undefined&&e.playingvideos.length>0&&(e.lastplayedvideos=jQuery.extend(!0,[],e.playingvideos),e.playingvideos&&jQuery.each(e.playingvideos,function(i,t){e.leaveViewPortBasedStop=!0,_R.stopVideo&&_R.stopVideo(t,e)}))},unToggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){i.removeClass("rs-toggle-content-active")})},toggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){i.addClass("rs-toggle-content-active")})},swaptoggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){jQuery(i).hasClass("rs-toggle-content-active")?jQuery(i).removeClass("rs-toggle-content-active"):jQuery(i).addClass("rs-toggle-content-active")})},lastToggleState:function(e){var i=0;return e!=undefined&&e.length>0&&jQuery.each(e,function(e,t){i=t.hasClass("rs-toggle-content-active")}),i}});var _ISM=_R.is_mobile(),_ANDROID=_R.is_android(),checkIDS=function(e,i){if(e.anyid=e.anyid===undefined?[]:e.anyid,-1!=jQuery.inArray(i.attr("id"),e.anyid)){var t=i.attr("id")+"_"+Math.round(9999*Math.random());i.attr("id",t)}e.anyid.push(i.attr("id"))},removeArray=function(e,i){var t=[];return jQuery.each(e,function(e,a){e!=i&&t.push(a)}),t},removeNavWithLiref=function(e,i,t){t.c.find(e).each(function(){var e=jQuery(this);e.data("liref")===i&&e.remove()})},lAjax=function(e,i){return!jQuery("body").data(e)&&(i.filesystem?(i.errorm===undefined&&(i.errorm="
Local Filesystem Detected !
Put this to your header:"),console.warn("Local Filesystem detected !"),i.errorm=i.errorm+'
<script type="text/javascript" src="'+i.jsFileLocation+e+i.extensions_suffix+'"></script>',console.warn(i.jsFileLocation+e+i.extensions_suffix+" could not be loaded !"),console.warn("Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document."),console.log(" "),i.modulesfailing=!0,!1):(jQuery.ajax({url:i.jsFileLocation+e+i.extensions_suffix+"?version="+version.core,dataType:"script",cache:!0,error:function(t){console.warn("Slider Revolution 5.0 Error !"),console.error("Failure at Loading:"+e+i.extensions_suffix+" on Path:"+i.jsFileLocation),console.info(t)}}),void jQuery("body").data(e,!0)))},getNeededScripts=function(e,i){var t=new Object,a=e.navigation;return t.kenburns=!1,t.parallax=!1,t.carousel=!1,t.navigation=!1,t.videos=!1,t.actions=!1,t.layeranim=!1,t.migration=!1,i.data("version")&&i.data("version").toString().match(/5./gi)?(i.find("img").each(function(){"on"==jQuery(this).data("kenburns")&&(t.kenburns=!0)}),("carousel"==e.sliderType||"on"==a.keyboardNavigation||"on"==a.mouseScrollNavigation||"on"==a.touch.touchenabled||a.arrows.enable||a.bullets.enable||a.thumbnails.enable||a.tabs.enable)&&(t.navigation=!0),i.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function(){var e=jQuery(this);(e.data("ytid")!=undefined||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(t.videos=!0),(e.data("vimeoid")!=undefined||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(t.videos=!0),e.data("actions")!==undefined&&(t.actions=!0),t.layeranim=!0}),i.find("li").each(function(){jQuery(this).data("link")&&jQuery(this).data("link")!=undefined&&(t.layeranim=!0,t.actions=!0)}),!t.videos&&(i.find(".rs-background-video-layer").length>0||i.find(".tp-videolayer").length>0||i.find(".tp-audiolayer").length>0||i.find("iframe").length>0||i.find("video").length>0)&&(t.videos=!0),"carousel"==e.sliderType&&(t.carousel=!0),("off"!==e.parallax.type||e.viewPort.enable||"true"==e.viewPort.enable||"true"===e.scrolleffect.on||e.scrolleffect.on)&&(t.parallax=!0)):(t.kenburns=!0,t.parallax=!0,t.carousel=!1,t.navigation=!0,t.videos=!0,t.actions=!0,t.layeranim=!0,t.migration=!0),"hero"==e.sliderType&&(t.carousel=!1,t.navigation=!1),window.location.href.match(/file:/gi)&&(t.filesystem=!0,e.filesystem=!0),t.videos&&void 0===_R.isVideoPlaying&&lAjax("revolution.extension.video",e),t.carousel&&void 0===_R.prepareCarousel&&lAjax("revolution.extension.carousel",e),t.carousel||void 0!==_R.animateSlide||lAjax("revolution.extension.slideanims",e),t.actions&&void 0===_R.checkActions&&lAjax("revolution.extension.actions",e),t.layeranim&&void 0===_R.handleStaticLayers&&lAjax("revolution.extension.layeranimation",e),t.kenburns&&void 0===_R.stopKenBurn&&lAjax("revolution.extension.kenburn",e),t.navigation&&void 0===_R.createNavigation&&lAjax("revolution.extension.navigation",e),t.migration&&void 0===_R.migration&&lAjax("revolution.extension.migration",e),t.parallax&&void 0===_R.checkForParallax&&lAjax("revolution.extension.parallax",e),e.addons!=undefined&&e.addons.length>0&&jQuery.each(e.addons,function(i,t){"object"==typeof t&&t.fileprefix!=undefined&&lAjax(t.fileprefix,e)}),t},waitForScripts=function(e,i){var t=!0,a=i.scriptsneeded;i.addons!=undefined&&i.addons.length>0&&jQuery.each(i.addons,function(e,i){"object"==typeof i&&i.init!=undefined&&_R[i.init]===undefined&&(t=!1)}),a.filesystem||"undefined"!=typeof punchgs&&t&&(!a.kenburns||a.kenburns&&void 0!==_R.stopKenBurn)&&(!a.navigation||a.navigation&&void 0!==_R.createNavigation)&&(!a.carousel||a.carousel&&void 0!==_R.prepareCarousel)&&(!a.videos||a.videos&&void 0!==_R.resetVideo)&&(!a.actions||a.actions&&void 0!==_R.checkActions)&&(!a.layeranim||a.layeranim&&void 0!==_R.handleStaticLayers)&&(!a.migration||a.migration&&void 0!==_R.migration)&&(!a.parallax||a.parallax&&void 0!==_R.checkForParallax)&&(a.carousel||!a.carousel&&void 0!==_R.animateSlide)?e.trigger("scriptsloaded"):setTimeout(function(){waitForScripts(e,i)},50)},getScriptLocation=function(e){var i=new RegExp("themepunch.revolution.min.js","gi"),t="";return jQuery("script").each(function(){var e=jQuery(this).attr("src");e&&e.match(i)&&(t=e)}),t=t.replace("jquery.themepunch.revolution.min.js",""),t=t.replace("jquery.themepunch.revolution.js",""),t=t.split("?")[0]},setCurWinRange=function(e,i){var t=9999,a=0,n=0,r=0,o=jQuery(window).width(),s=i&&9999==e.responsiveLevels?e.visibilityLevels:e.responsiveLevels;s&&s.length&&jQuery.each(s,function(e,i){oi)&&(t=i,r=e,a=i),o>i&&a'),container.find(">ul").addClass("tp-revslider-mainul"),opt.c=container,opt.ul=container.find(".tp-revslider-mainul"),opt.ul.find(">li").each(function(e){var i=jQuery(this);"on"==i.data("hideslideonmobile")&&_ISM&&i.remove(),(i.data("invisible")||!0===i.data("invisible"))&&(i.addClass("tp-invisible-slide"),i.appendTo(opt.ul))}),opt.addons!=undefined&&opt.addons.length>0&&jQuery.each(opt.addons,function(i,obj){"object"==typeof obj&&obj.init!=undefined&&_R[obj.init](eval(obj.params))}),opt.cid=container.attr("id"),opt.ul.css({visibility:"visible"}),opt.slideamount=opt.ul.find(">li").not(".tp-invisible-slide").length,opt.realslideamount=opt.ul.find(">li").length,opt.slayers=container.find(".tp-static-layers"),opt.slayers.data("index","staticlayers"),1!=opt.waitForInit&&(container[0].opt=opt,runSlider(container,opt))},onFullScreenChange=function(){jQuery("body").data("rs-fullScreenMode",!jQuery("body").data("rs-fullScreenMode")),jQuery("body").data("rs-fullScreenMode")&&setTimeout(function(){jQuery(window).trigger("resize")},200)},runSlider=function(e,i){if(i.sliderisrunning=!0,i.ul.find(">li").each(function(e){jQuery(this).data("originalindex",e)}),i.allli=i.ul.find(">li"),jQuery.each(i.allli,function(e,i){(i=jQuery(i)).data("origindex",i.index())}),i.li=i.ul.find(">li").not(".tp-invisible-slide"),"on"==i.shuffle){var t=new Object,a=i.ul.find(">li:first-child");t.fstransition=a.data("fstransition"),t.fsmasterspeed=a.data("fsmasterspeed"),t.fsslotamount=a.data("fsslotamount");for(var n=0;nli:eq("+r+")").prependTo(i.ul)}var o=i.ul.find(">li:first-child");o.data("fstransition",t.fstransition),o.data("fsmasterspeed",t.fsmasterspeed),o.data("fsslotamount",t.fsslotamount),i.allli=i.ul.find(">li"),i.li=i.ul.find(">li").not(".tp-invisible-slide")}if(i.inli=i.ul.find(">li.tp-invisible-slide"),i.thumbs=new Array,i.slots=4,i.act=-1,i.firststart=1,i.loadqueue=new Array,i.syncload=0,i.conw=e.width(),i.conh=e.height(),i.responsiveLevels.length>1?i.responsiveLevels[0]=9999:i.responsiveLevels=9999,jQuery.each(i.allli,function(e,t){var a=(t=jQuery(t)).find(".rev-slidebg")||t.find("img").first(),n=0;t.addClass("tp-revslider-slidesli"),t.data("index")===undefined&&t.data("index","rs-"+Math.round(999999*Math.random()));var r=new Object;r.params=new Array,r.id=t.data("index"),r.src=t.data("thumb")!==undefined?t.data("thumb"):a.data("lazyload")!==undefined?a.data("lazyload"):a.attr("src"),t.data("title")!==undefined&&r.params.push({from:RegExp("\\{\\{title\\}\\}","g"),to:t.data("title")}),t.data("description")!==undefined&&r.params.push({from:RegExp("\\{\\{description\\}\\}","g"),to:t.data("description")});for(n=1;n<=10;n++)t.data("param"+n)!==undefined&&r.params.push({from:RegExp("\\{\\{param"+n+"\\}\\}","g"),to:t.data("param"+n)});if(i.thumbs.push(r),t.data("link")!=undefined){var o=t.data("link"),s=t.data("target")||"_self",l="back"===t.data("slideindex")?0:60,d=t.data("linktoslide"),c=d;d!=undefined&&"next"!=d&&"prev"!=d&&i.allli.each(function(){var e=jQuery(this);e.data("origindex")+1==c&&(d=e.data("index"))}),"slide"!=o&&(d="no");var u='